AWS SDK for C++

AWS SDK for C++ Version 1.11.757

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