AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
30 AWS_COGNITOSYNC_API SetIdentityPoolConfigurationRequest() = default;
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 template<typename IdentityPoolIdT = Aws::String>
50 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
51 template<typename IdentityPoolIdT = Aws::String>
52 SetIdentityPoolConfigurationRequest& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
54
56
59 inline const PushSync& GetPushSync() const { return m_pushSync; }
60 inline bool PushSyncHasBeenSet() const { return m_pushSyncHasBeenSet; }
61 template<typename PushSyncT = PushSync>
62 void SetPushSync(PushSyncT&& value) { m_pushSyncHasBeenSet = true; m_pushSync = std::forward<PushSyncT>(value); }
63 template<typename PushSyncT = PushSync>
64 SetIdentityPoolConfigurationRequest& WithPushSync(PushSyncT&& value) { SetPushSync(std::forward<PushSyncT>(value)); return *this;}
66
68
71 inline const CognitoStreams& GetCognitoStreams() const { return m_cognitoStreams; }
72 inline bool CognitoStreamsHasBeenSet() const { return m_cognitoStreamsHasBeenSet; }
73 template<typename CognitoStreamsT = CognitoStreams>
74 void SetCognitoStreams(CognitoStreamsT&& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = std::forward<CognitoStreamsT>(value); }
75 template<typename CognitoStreamsT = CognitoStreams>
76 SetIdentityPoolConfigurationRequest& WithCognitoStreams(CognitoStreamsT&& value) { SetCognitoStreams(std::forward<CognitoStreamsT>(value)); return *this;}
78 private:
79
80 Aws::String m_identityPoolId;
81 bool m_identityPoolIdHasBeenSet = false;
82
83 PushSync m_pushSync;
84 bool m_pushSyncHasBeenSet = false;
85
86 CognitoStreams m_cognitoStreams;
87 bool m_cognitoStreamsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CognitoSync
92} // 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