AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
StartIntegrationAuthorizationResult.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/OAuthCodeChallengeMethod.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Continuum {
25namespace Model {
33 public:
34 AWS_CONTINUUM_API StartIntegrationAuthorizationResult() = default;
37
39
44 inline const Aws::String& GetState() const { return m_state; }
45 template <typename StateT = Aws::String>
46 void SetState(StateT&& value) {
47 m_stateHasBeenSet = true;
48 m_state = std::forward<StateT>(value);
49 }
50 template <typename StateT = Aws::String>
52 SetState(std::forward<StateT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetCodeChallenge() const { return m_codeChallenge; }
63 template <typename CodeChallengeT = Aws::String>
64 void SetCodeChallenge(CodeChallengeT&& value) {
65 m_codeChallengeHasBeenSet = true;
66 m_codeChallenge = std::forward<CodeChallengeT>(value);
67 }
68 template <typename CodeChallengeT = Aws::String>
70 SetCodeChallenge(std::forward<CodeChallengeT>(value));
71 return *this;
72 }
74
76
80 inline OAuthCodeChallengeMethod GetCodeChallengeMethod() const { return m_codeChallengeMethod; }
82 m_codeChallengeMethodHasBeenSet = true;
83 m_codeChallengeMethod = value;
84 }
90
92
96 inline const Aws::Utils::DateTime& GetExpiresAt() const { return m_expiresAt; }
97 template <typename ExpiresAtT = Aws::Utils::DateTime>
98 void SetExpiresAt(ExpiresAtT&& value) {
99 m_expiresAtHasBeenSet = true;
100 m_expiresAt = std::forward<ExpiresAtT>(value);
101 }
102 template <typename ExpiresAtT = Aws::Utils::DateTime>
104 SetExpiresAt(std::forward<ExpiresAtT>(value));
105 return *this;
106 }
108
110
111 inline const Aws::String& GetRequestId() const { return m_requestId; }
112 template <typename RequestIdT = Aws::String>
113 void SetRequestId(RequestIdT&& value) {
114 m_requestIdHasBeenSet = true;
115 m_requestId = std::forward<RequestIdT>(value);
116 }
117 template <typename RequestIdT = Aws::String>
119 SetRequestId(std::forward<RequestIdT>(value));
120 return *this;
121 }
123 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
124
125 private:
126 Aws::String m_state;
127
128 Aws::String m_codeChallenge;
129
131
132 Aws::Utils::DateTime m_expiresAt{};
133
134 Aws::String m_requestId;
135 Aws::Http::HttpResponseCode m_HttpResponseCode;
136 bool m_stateHasBeenSet = false;
137 bool m_codeChallengeHasBeenSet = false;
138 bool m_codeChallengeMethodHasBeenSet = false;
139 bool m_expiresAtHasBeenSet = false;
140 bool m_requestIdHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace Continuum
145} // namespace Aws
StartIntegrationAuthorizationResult & WithExpiresAt(ExpiresAtT &&value)
StartIntegrationAuthorizationResult & WithRequestId(RequestIdT &&value)
AWS_CONTINUUM_API StartIntegrationAuthorizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartIntegrationAuthorizationResult & WithState(StateT &&value)
StartIntegrationAuthorizationResult & WithCodeChallengeMethod(OAuthCodeChallengeMethod value)
StartIntegrationAuthorizationResult & WithCodeChallenge(CodeChallengeT &&value)
AWS_CONTINUUM_API StartIntegrationAuthorizationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue