AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CognitoSync {
24namespace Model {
32 public:
33 AWS_COGNITOSYNC_API SetIdentityPoolConfigurationResult() = default;
36
38
42 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
43 template <typename IdentityPoolIdT = Aws::String>
44 void SetIdentityPoolId(IdentityPoolIdT&& value) {
45 m_identityPoolIdHasBeenSet = true;
46 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
47 }
48 template <typename IdentityPoolIdT = Aws::String>
50 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
51 return *this;
52 }
54
56
59 inline const PushSync& GetPushSync() const { return m_pushSync; }
60 template <typename PushSyncT = PushSync>
61 void SetPushSync(PushSyncT&& value) {
62 m_pushSyncHasBeenSet = true;
63 m_pushSync = std::forward<PushSyncT>(value);
64 }
65 template <typename PushSyncT = PushSync>
67 SetPushSync(std::forward<PushSyncT>(value));
68 return *this;
69 }
71
73
76 inline const CognitoStreams& GetCognitoStreams() const { return m_cognitoStreams; }
77 template <typename CognitoStreamsT = CognitoStreams>
78 void SetCognitoStreams(CognitoStreamsT&& value) {
79 m_cognitoStreamsHasBeenSet = true;
80 m_cognitoStreams = std::forward<CognitoStreamsT>(value);
81 }
82 template <typename CognitoStreamsT = CognitoStreams>
84 SetCognitoStreams(std::forward<CognitoStreamsT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_identityPoolId;
105
106 PushSync m_pushSync;
107
108 CognitoStreams m_cognitoStreams;
109
110 Aws::String m_requestId;
111 bool m_identityPoolIdHasBeenSet = false;
112 bool m_pushSyncHasBeenSet = false;
113 bool m_cognitoStreamsHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace CognitoSync
119} // 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