AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SetIdentityPoolConfigurationRequest.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSyncRequest.h>
8#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
9#include <aws/cognito-sync/model/CognitoStreams.h>
10#include <aws/cognito-sync/model/PushSync.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CognitoSync {
17namespace Model {
18
26 public:
27 AWS_COGNITOSYNC_API SetIdentityPoolConfigurationRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "SetIdentityPoolConfiguration"; }
34
35 AWS_COGNITOSYNC_API Aws::String SerializePayload() const override;
36
38
43 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
44 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
45 template <typename IdentityPoolIdT = Aws::String>
46 void SetIdentityPoolId(IdentityPoolIdT&& value) {
47 m_identityPoolIdHasBeenSet = true;
48 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
49 }
50 template <typename IdentityPoolIdT = Aws::String>
52 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
53 return *this;
54 }
56
58
61 inline const PushSync& GetPushSync() const { return m_pushSync; }
62 inline bool PushSyncHasBeenSet() const { return m_pushSyncHasBeenSet; }
63 template <typename PushSyncT = PushSync>
64 void SetPushSync(PushSyncT&& value) {
65 m_pushSyncHasBeenSet = true;
66 m_pushSync = std::forward<PushSyncT>(value);
67 }
68 template <typename PushSyncT = PushSync>
70 SetPushSync(std::forward<PushSyncT>(value));
71 return *this;
72 }
74
76
79 inline const CognitoStreams& GetCognitoStreams() const { return m_cognitoStreams; }
80 inline bool CognitoStreamsHasBeenSet() const { return m_cognitoStreamsHasBeenSet; }
81 template <typename CognitoStreamsT = CognitoStreams>
82 void SetCognitoStreams(CognitoStreamsT&& value) {
83 m_cognitoStreamsHasBeenSet = true;
84 m_cognitoStreams = std::forward<CognitoStreamsT>(value);
85 }
86 template <typename CognitoStreamsT = CognitoStreams>
88 SetCognitoStreams(std::forward<CognitoStreamsT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_identityPoolId;
94
95 PushSync m_pushSync;
96
97 CognitoStreams m_cognitoStreams;
98 bool m_identityPoolIdHasBeenSet = false;
99 bool m_pushSyncHasBeenSet = false;
100 bool m_cognitoStreamsHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace CognitoSync
105} // namespace Aws
SetIdentityPoolConfigurationRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
AWS_COGNITOSYNC_API SetIdentityPoolConfigurationRequest()=default
SetIdentityPoolConfigurationRequest & WithPushSync(PushSyncT &&value)
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
SetIdentityPoolConfigurationRequest & WithCognitoStreams(CognitoStreamsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String