AWS SDK for C++  1.8.127
AWS SDK for C++
SetIdentityPoolConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace CognitoSync
17 {
18 namespace Model
19 {
20 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "SetIdentityPoolConfiguration"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
46  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
47 
53  inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
54 
60  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
61 
67  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
68 
74  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
75 
81  inline SetIdentityPoolConfigurationRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
82 
88  inline SetIdentityPoolConfigurationRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
89 
95  inline SetIdentityPoolConfigurationRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
96 
97 
101  inline const PushSync& GetPushSync() const{ return m_pushSync; }
102 
106  inline bool PushSyncHasBeenSet() const { return m_pushSyncHasBeenSet; }
107 
111  inline void SetPushSync(const PushSync& value) { m_pushSyncHasBeenSet = true; m_pushSync = value; }
112 
116  inline void SetPushSync(PushSync&& value) { m_pushSyncHasBeenSet = true; m_pushSync = std::move(value); }
117 
121  inline SetIdentityPoolConfigurationRequest& WithPushSync(const PushSync& value) { SetPushSync(value); return *this;}
122 
126  inline SetIdentityPoolConfigurationRequest& WithPushSync(PushSync&& value) { SetPushSync(std::move(value)); return *this;}
127 
128 
132  inline const CognitoStreams& GetCognitoStreams() const{ return m_cognitoStreams; }
133 
137  inline bool CognitoStreamsHasBeenSet() const { return m_cognitoStreamsHasBeenSet; }
138 
142  inline void SetCognitoStreams(const CognitoStreams& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = value; }
143 
147  inline void SetCognitoStreams(CognitoStreams&& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = std::move(value); }
148 
152  inline SetIdentityPoolConfigurationRequest& WithCognitoStreams(const CognitoStreams& value) { SetCognitoStreams(value); return *this;}
153 
157  inline SetIdentityPoolConfigurationRequest& WithCognitoStreams(CognitoStreams&& value) { SetCognitoStreams(std::move(value)); return *this;}
158 
159  private:
160 
161  Aws::String m_identityPoolId;
162  bool m_identityPoolIdHasBeenSet;
163 
164  PushSync m_pushSync;
165  bool m_pushSyncHasBeenSet;
166 
167  CognitoStreams m_cognitoStreams;
168  bool m_cognitoStreamsHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace CognitoSync
173 } // namespace Aws
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::SetPushSync
void SetPushSync(const PushSync &value)
Definition: SetIdentityPoolConfigurationRequest.h:111
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::IdentityPoolIdHasBeenSet
bool IdentityPoolIdHasBeenSet() const
Definition: SetIdentityPoolConfigurationRequest.h:53
Aws::CognitoSync::Model::PushSync
Definition: PushSync.h:34
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::CognitoStreamsHasBeenSet
bool CognitoStreamsHasBeenSet() const
Definition: SetIdentityPoolConfigurationRequest.h:137
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::SetIdentityPoolId
void SetIdentityPoolId(const char *value)
Definition: SetIdentityPoolConfigurationRequest.h:74
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::WithIdentityPoolId
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(const char *value)
Definition: SetIdentityPoolConfigurationRequest.h:95
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::SetIdentityPoolId
void SetIdentityPoolId(Aws::String &&value)
Definition: SetIdentityPoolConfigurationRequest.h:67
CognitoStreams.h
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::WithPushSync
SetIdentityPoolConfigurationRequest & WithPushSync(const PushSync &value)
Definition: SetIdentityPoolConfigurationRequest.h:121
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::SetCognitoStreams
void SetCognitoStreams(CognitoStreams &&value)
Definition: SetIdentityPoolConfigurationRequest.h:147
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::WithIdentityPoolId
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(Aws::String &&value)
Definition: SetIdentityPoolConfigurationRequest.h:88
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::WithPushSync
SetIdentityPoolConfigurationRequest & WithPushSync(PushSync &&value)
Definition: SetIdentityPoolConfigurationRequest.h:126
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::WithCognitoStreams
SetIdentityPoolConfigurationRequest & WithCognitoStreams(const CognitoStreams &value)
Definition: SetIdentityPoolConfigurationRequest.h:152
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest
Definition: SetIdentityPoolConfigurationRequest.h:28
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetIdentityPoolConfigurationRequest.h:36
PushSync.h
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::GetIdentityPoolId
const Aws::String & GetIdentityPoolId() const
Definition: SetIdentityPoolConfigurationRequest.h:46
Aws::CognitoSync::CognitoSyncRequest
Definition: CognitoSyncRequest.h:17
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::WithCognitoStreams
SetIdentityPoolConfigurationRequest & WithCognitoStreams(CognitoStreams &&value)
Definition: SetIdentityPoolConfigurationRequest.h:157
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::SetCognitoStreams
void SetCognitoStreams(const CognitoStreams &value)
Definition: SetIdentityPoolConfigurationRequest.h:142
AWSString.h
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::SetIdentityPoolId
void SetIdentityPoolId(const Aws::String &value)
Definition: SetIdentityPoolConfigurationRequest.h:60
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::PushSyncHasBeenSet
bool PushSyncHasBeenSet() const
Definition: SetIdentityPoolConfigurationRequest.h:106
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::GetCognitoStreams
const CognitoStreams & GetCognitoStreams() const
Definition: SetIdentityPoolConfigurationRequest.h:132
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::SetPushSync
void SetPushSync(PushSync &&value)
Definition: SetIdentityPoolConfigurationRequest.h:116
Aws
Definition: AccessManagementClient.h:15
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
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
CognitoSyncRequest.h
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::SetIdentityPoolConfigurationRequest
SetIdentityPoolConfigurationRequest()
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::GetPushSync
const PushSync & GetPushSync() const
Definition: SetIdentityPoolConfigurationRequest.h:101
Aws::CognitoSync::Model::SetIdentityPoolConfigurationRequest::WithIdentityPoolId
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(const Aws::String &value)
Definition: SetIdentityPoolConfigurationRequest.h:81