AWS SDK for C++

AWS SDK for C++ Version 1.11.812

Loading...
Searching...
No Matches
GetDepotUrlResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evs/EVS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace EVS {
23namespace Model {
25 public:
26 AWS_EVS_API GetDepotUrlResult() = default;
29
31
35 inline const Aws::String& GetDepotUrl() const { return m_depotUrl; }
36 template <typename DepotUrlT = Aws::String>
37 void SetDepotUrl(DepotUrlT&& value) {
38 m_depotUrlHasBeenSet = true;
39 m_depotUrl = std::forward<DepotUrlT>(value);
40 }
41 template <typename DepotUrlT = Aws::String>
42 GetDepotUrlResult& WithDepotUrl(DepotUrlT&& value) {
43 SetDepotUrl(std::forward<DepotUrlT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetToken() const { return m_token; }
54 template <typename TokenT = Aws::String>
55 void SetToken(TokenT&& value) {
56 m_tokenHasBeenSet = true;
57 m_token = std::forward<TokenT>(value);
58 }
59 template <typename TokenT = Aws::String>
60 GetDepotUrlResult& WithToken(TokenT&& value) {
61 SetToken(std::forward<TokenT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
75 GetDepotUrlResult& WithRequestId(RequestIdT&& value) {
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 Aws::String m_depotUrl;
84
85 Aws::String m_token;
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_depotUrlHasBeenSet = false;
90 bool m_tokenHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace EVS
96} // namespace Aws
AWS_EVS_API GetDepotUrlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EVS_API GetDepotUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
GetDepotUrlResult & WithDepotUrl(DepotUrlT &&value)
const Aws::String & GetDepotUrl() const
GetDepotUrlResult & WithRequestId(RequestIdT &&value)
void SetDepotUrl(DepotUrlT &&value)
AWS_EVS_API GetDepotUrlResult()=default
GetDepotUrlResult & WithToken(TokenT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue