AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
SetIdentityPoolConfigurationResult.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/cognito-sync/model/CognitoStreams.h>
9#include <aws/cognito-sync/model/PushSync.h>
10#include <aws/core/http/HttpResponse.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 CognitoSync {
25namespace Model {
33 public:
34 AWS_COGNITOSYNC_API SetIdentityPoolConfigurationResult() = default;
37
39
43 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
44 template <typename IdentityPoolIdT = Aws::String>
45 void SetIdentityPoolId(IdentityPoolIdT&& value) {
46 m_identityPoolIdHasBeenSet = true;
47 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
48 }
49 template <typename IdentityPoolIdT = Aws::String>
51 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
52 return *this;
53 }
55
57
60 inline const PushSync& GetPushSync() const { return m_pushSync; }
61 template <typename PushSyncT = PushSync>
62 void SetPushSync(PushSyncT&& value) {
63 m_pushSyncHasBeenSet = true;
64 m_pushSync = std::forward<PushSyncT>(value);
65 }
66 template <typename PushSyncT = PushSync>
68 SetPushSync(std::forward<PushSyncT>(value));
69 return *this;
70 }
72
74
77 inline const CognitoStreams& GetCognitoStreams() const { return m_cognitoStreams; }
78 template <typename CognitoStreamsT = CognitoStreams>
79 void SetCognitoStreams(CognitoStreamsT&& value) {
80 m_cognitoStreamsHasBeenSet = true;
81 m_cognitoStreams = std::forward<CognitoStreamsT>(value);
82 }
83 template <typename CognitoStreamsT = CognitoStreams>
85 SetCognitoStreams(std::forward<CognitoStreamsT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
105
106 private:
107 Aws::String m_identityPoolId;
108
109 PushSync m_pushSync;
110
111 CognitoStreams m_cognitoStreams;
112
113 Aws::String m_requestId;
114 Aws::Http::HttpResponseCode m_HttpResponseCode;
115 bool m_identityPoolIdHasBeenSet = false;
116 bool m_pushSyncHasBeenSet = false;
117 bool m_cognitoStreamsHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace CognitoSync
123} // namespace Aws
AWS_COGNITOSYNC_API SetIdentityPoolConfigurationResult()=default
SetIdentityPoolConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_COGNITOSYNC_API SetIdentityPoolConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SetIdentityPoolConfigurationResult & WithCognitoStreams(CognitoStreamsT &&value)
SetIdentityPoolConfigurationResult & WithPushSync(PushSyncT &&value)
AWS_COGNITOSYNC_API SetIdentityPoolConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SetIdentityPoolConfigurationResult & WithIdentityPoolId(IdentityPoolIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue