AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetIdentityPoolConfigurationRequest.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/cognito-sync/CognitoSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cognito-sync/model/PushSync.h>
11#include <aws/cognito-sync/model/CognitoStreams.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CognitoSync
17{
18namespace 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_COGNITOSYNC_API Aws::String SerializePayload() const override;
39
40
42
47 inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
48 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
49 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
50 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
51 inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
53 inline SetIdentityPoolConfigurationRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
54 inline SetIdentityPoolConfigurationRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
56
58
61 inline const PushSync& GetPushSync() const{ return m_pushSync; }
62 inline bool PushSyncHasBeenSet() const { return m_pushSyncHasBeenSet; }
63 inline void SetPushSync(const PushSync& value) { m_pushSyncHasBeenSet = true; m_pushSync = value; }
64 inline void SetPushSync(PushSync&& value) { m_pushSyncHasBeenSet = true; m_pushSync = std::move(value); }
65 inline SetIdentityPoolConfigurationRequest& WithPushSync(const PushSync& value) { SetPushSync(value); return *this;}
66 inline SetIdentityPoolConfigurationRequest& WithPushSync(PushSync&& value) { SetPushSync(std::move(value)); return *this;}
68
70
73 inline const CognitoStreams& GetCognitoStreams() const{ return m_cognitoStreams; }
74 inline bool CognitoStreamsHasBeenSet() const { return m_cognitoStreamsHasBeenSet; }
75 inline void SetCognitoStreams(const CognitoStreams& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = value; }
76 inline void SetCognitoStreams(CognitoStreams&& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = std::move(value); }
80 private:
81
82 Aws::String m_identityPoolId;
83 bool m_identityPoolIdHasBeenSet = false;
84
85 PushSync m_pushSync;
86 bool m_pushSyncHasBeenSet = false;
87
88 CognitoStreams m_cognitoStreams;
89 bool m_cognitoStreamsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CognitoSync
94} // namespace Aws
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(Aws::String &&value)
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(const Aws::String &value)
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(const char *value)
SetIdentityPoolConfigurationRequest & WithPushSync(const PushSync &value)
SetIdentityPoolConfigurationRequest & WithCognitoStreams(CognitoStreams &&value)
SetIdentityPoolConfigurationRequest & WithCognitoStreams(const CognitoStreams &value)
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
SetIdentityPoolConfigurationRequest & WithPushSync(PushSync &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String