AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BulkPublishResult.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace CognitoSync {
22namespace Model {
29 public:
30 AWS_COGNITOSYNC_API BulkPublishResult() = default;
33
35
39 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
40 template <typename IdentityPoolIdT = Aws::String>
41 void SetIdentityPoolId(IdentityPoolIdT&& value) {
42 m_identityPoolIdHasBeenSet = true;
43 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
44 }
45 template <typename IdentityPoolIdT = Aws::String>
46 BulkPublishResult& WithIdentityPoolId(IdentityPoolIdT&& value) {
47 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
61 BulkPublishResult& WithRequestId(RequestIdT&& value) {
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_identityPoolId;
68
69 Aws::String m_requestId;
70 bool m_identityPoolIdHasBeenSet = false;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace CognitoSync
76} // namespace Aws
AWS_COGNITOSYNC_API BulkPublishResult()=default
AWS_COGNITOSYNC_API BulkPublishResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BulkPublishResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetIdentityPoolId() const
AWS_COGNITOSYNC_API BulkPublishResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BulkPublishResult & WithIdentityPoolId(IdentityPoolIdT &&value)
void SetIdentityPoolId(IdentityPoolIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue