AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ReplacePermissionAssociationsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/RAM_EXPORTS.h>
10#include <aws/ram/model/ReplacePermissionAssociationsWork.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace RAM {
24namespace Model {
26 public:
27 AWS_RAM_API ReplacePermissionAssociationsResult() = default;
30
32
39 return m_replacePermissionAssociationsWork;
40 }
41 template <typename ReplacePermissionAssociationsWorkT = ReplacePermissionAssociationsWork>
42 void SetReplacePermissionAssociationsWork(ReplacePermissionAssociationsWorkT&& value) {
43 m_replacePermissionAssociationsWorkHasBeenSet = true;
44 m_replacePermissionAssociationsWork = std::forward<ReplacePermissionAssociationsWorkT>(value);
45 }
46 template <typename ReplacePermissionAssociationsWorkT = ReplacePermissionAssociationsWork>
48 SetReplacePermissionAssociationsWork(std::forward<ReplacePermissionAssociationsWorkT>(value));
49 return *this;
50 }
52
54
61 inline const Aws::String& GetClientToken() const { return m_clientToken; }
62 template <typename ClientTokenT = Aws::String>
63 void SetClientToken(ClientTokenT&& value) {
64 m_clientTokenHasBeenSet = true;
65 m_clientToken = std::forward<ClientTokenT>(value);
66 }
67 template <typename ClientTokenT = Aws::String>
69 SetClientToken(std::forward<ClientTokenT>(value));
70 return *this;
71 }
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template <typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) {
79 m_requestIdHasBeenSet = true;
80 m_requestId = std::forward<RequestIdT>(value);
81 }
82 template <typename RequestIdT = Aws::String>
84 SetRequestId(std::forward<RequestIdT>(value));
85 return *this;
86 }
88 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
89
90 private:
91 ReplacePermissionAssociationsWork m_replacePermissionAssociationsWork;
92
93 Aws::String m_clientToken;
94
95 Aws::String m_requestId;
96 Aws::Http::HttpResponseCode m_HttpResponseCode;
97 bool m_replacePermissionAssociationsWorkHasBeenSet = false;
98 bool m_clientTokenHasBeenSet = false;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace RAM
104} // namespace Aws
AWS_RAM_API ReplacePermissionAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReplacePermissionAssociationsWork(ReplacePermissionAssociationsWorkT &&value)
ReplacePermissionAssociationsResult & WithRequestId(RequestIdT &&value)
ReplacePermissionAssociationsResult & WithClientToken(ClientTokenT &&value)
ReplacePermissionAssociationsResult & WithReplacePermissionAssociationsWork(ReplacePermissionAssociationsWorkT &&value)
const ReplacePermissionAssociationsWork & GetReplacePermissionAssociationsWork() const
AWS_RAM_API ReplacePermissionAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue