AWS SDK for C++  1.8.71
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
SetIdentityPoolConfigurationRequest & WithCognitoStreams(const CognitoStreams &value)
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(Aws::String &&value)
SetIdentityPoolConfigurationRequest & WithPushSync(const PushSync &value)
SetIdentityPoolConfigurationRequest & WithCognitoStreams(CognitoStreams &&value)
SetIdentityPoolConfigurationRequest & WithPushSync(PushSync &&value)
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(const Aws::String &value)
#define AWS_COGNITOSYNC_API