AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SetIdentityPoolConfigurationResult.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cognito-sync/model/PushSync.h>
10#include <aws/cognito-sync/model/CognitoStreams.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CognitoSync
26{
27namespace Model
28{
36 {
37 public:
38 AWS_COGNITOSYNC_API SetIdentityPoolConfigurationResult() = default;
41
42
44
48 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
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 SetIdentityPoolConfigurationResult& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
54
56
59 inline const PushSync& GetPushSync() const { return m_pushSync; }
60 template<typename PushSyncT = PushSync>
61 void SetPushSync(PushSyncT&& value) { m_pushSyncHasBeenSet = true; m_pushSync = std::forward<PushSyncT>(value); }
62 template<typename PushSyncT = PushSync>
63 SetIdentityPoolConfigurationResult& WithPushSync(PushSyncT&& value) { SetPushSync(std::forward<PushSyncT>(value)); return *this;}
65
67
70 inline const CognitoStreams& GetCognitoStreams() const { return m_cognitoStreams; }
71 template<typename CognitoStreamsT = CognitoStreams>
72 void SetCognitoStreams(CognitoStreamsT&& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = std::forward<CognitoStreamsT>(value); }
73 template<typename CognitoStreamsT = CognitoStreams>
74 SetIdentityPoolConfigurationResult& WithCognitoStreams(CognitoStreamsT&& value) { SetCognitoStreams(std::forward<CognitoStreamsT>(value)); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template<typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
82 template<typename RequestIdT = Aws::String>
83 SetIdentityPoolConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
85 private:
86
87 Aws::String m_identityPoolId;
88 bool m_identityPoolIdHasBeenSet = false;
89
90 PushSync m_pushSync;
91 bool m_pushSyncHasBeenSet = false;
92
93 CognitoStreams m_cognitoStreams;
94 bool m_cognitoStreamsHasBeenSet = false;
95
96 Aws::String m_requestId;
97 bool m_requestIdHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CognitoSync
102} // namespace Aws
AWS_COGNITOSYNC_API SetIdentityPoolConfigurationResult()=default
SetIdentityPoolConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_COGNITOSYNC_API SetIdentityPoolConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SetIdentityPoolConfigurationResult & WithCognitoStreams(CognitoStreamsT &&value)
SetIdentityPoolConfigurationResult & WithPushSync(PushSyncT &&value)
AWS_COGNITOSYNC_API SetIdentityPoolConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SetIdentityPoolConfigurationResult & WithIdentityPoolId(IdentityPoolIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue