AWS SDK for C++  1.8.126
AWS SDK for C++
GetIdentityPoolConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace CognitoSync
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
48 
53  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolId = value; }
54 
59  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolId = std::move(value); }
60 
65  inline void SetIdentityPoolId(const char* value) { m_identityPoolId.assign(value); }
66 
71  inline GetIdentityPoolConfigurationResult& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
72 
77  inline GetIdentityPoolConfigurationResult& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
78 
83  inline GetIdentityPoolConfigurationResult& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
84 
85 
89  inline const PushSync& GetPushSync() const{ return m_pushSync; }
90 
94  inline void SetPushSync(const PushSync& value) { m_pushSync = value; }
95 
99  inline void SetPushSync(PushSync&& value) { m_pushSync = std::move(value); }
100 
104  inline GetIdentityPoolConfigurationResult& WithPushSync(const PushSync& value) { SetPushSync(value); return *this;}
105 
109  inline GetIdentityPoolConfigurationResult& WithPushSync(PushSync&& value) { SetPushSync(std::move(value)); return *this;}
110 
111 
115  inline const CognitoStreams& GetCognitoStreams() const{ return m_cognitoStreams; }
116 
120  inline void SetCognitoStreams(const CognitoStreams& value) { m_cognitoStreams = value; }
121 
125  inline void SetCognitoStreams(CognitoStreams&& value) { m_cognitoStreams = std::move(value); }
126 
130  inline GetIdentityPoolConfigurationResult& WithCognitoStreams(const CognitoStreams& value) { SetCognitoStreams(value); return *this;}
131 
135  inline GetIdentityPoolConfigurationResult& WithCognitoStreams(CognitoStreams&& value) { SetCognitoStreams(std::move(value)); return *this;}
136 
137  private:
138 
139  Aws::String m_identityPoolId;
140 
141  PushSync m_pushSync;
142 
143  CognitoStreams m_cognitoStreams;
144  };
145 
146 } // namespace Model
147 } // namespace CognitoSync
148 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::WithCognitoStreams
GetIdentityPoolConfigurationResult & WithCognitoStreams(const CognitoStreams &value)
Definition: GetIdentityPoolConfigurationResult.h:130
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::GetIdentityPoolConfigurationResult
GetIdentityPoolConfigurationResult()
Aws::CognitoSync::Model::PushSync
Definition: PushSync.h:34
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::WithPushSync
GetIdentityPoolConfigurationResult & WithPushSync(const PushSync &value)
Definition: GetIdentityPoolConfigurationResult.h:104
CognitoStreams.h
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::SetIdentityPoolId
void SetIdentityPoolId(const char *value)
Definition: GetIdentityPoolConfigurationResult.h:65
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult
Definition: GetIdentityPoolConfigurationResult.h:36
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::GetIdentityPoolId
const Aws::String & GetIdentityPoolId() const
Definition: GetIdentityPoolConfigurationResult.h:47
PushSync.h
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::SetIdentityPoolId
void SetIdentityPoolId(const Aws::String &value)
Definition: GetIdentityPoolConfigurationResult.h:53
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::SetPushSync
void SetPushSync(const PushSync &value)
Definition: GetIdentityPoolConfigurationResult.h:94
AWSString.h
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::GetCognitoStreams
const CognitoStreams & GetCognitoStreams() const
Definition: GetIdentityPoolConfigurationResult.h:115
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::SetPushSync
void SetPushSync(PushSync &&value)
Definition: GetIdentityPoolConfigurationResult.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::GetPushSync
const PushSync & GetPushSync() const
Definition: GetIdentityPoolConfigurationResult.h:89
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::SetIdentityPoolId
void SetIdentityPoolId(Aws::String &&value)
Definition: GetIdentityPoolConfigurationResult.h:59
Aws::CognitoSync::Model::CognitoStreams
Definition: CognitoStreams.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::WithCognitoStreams
GetIdentityPoolConfigurationResult & WithCognitoStreams(CognitoStreams &&value)
Definition: GetIdentityPoolConfigurationResult.h:135
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::WithIdentityPoolId
GetIdentityPoolConfigurationResult & WithIdentityPoolId(const char *value)
Definition: GetIdentityPoolConfigurationResult.h:83
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::operator=
GetIdentityPoolConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::SetCognitoStreams
void SetCognitoStreams(CognitoStreams &&value)
Definition: GetIdentityPoolConfigurationResult.h:125
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::SetCognitoStreams
void SetCognitoStreams(const CognitoStreams &value)
Definition: GetIdentityPoolConfigurationResult.h:120
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::WithIdentityPoolId
GetIdentityPoolConfigurationResult & WithIdentityPoolId(Aws::String &&value)
Definition: GetIdentityPoolConfigurationResult.h:77
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::GetIdentityPoolConfigurationResult
GetIdentityPoolConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::WithIdentityPoolId
GetIdentityPoolConfigurationResult & WithIdentityPoolId(const Aws::String &value)
Definition: GetIdentityPoolConfigurationResult.h:71
Aws::CognitoSync::Model::GetIdentityPoolConfigurationResult::WithPushSync
GetIdentityPoolConfigurationResult & WithPushSync(PushSync &&value)
Definition: GetIdentityPoolConfigurationResult.h:109