AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplacePermissionAssociationsResult.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/ram/model/ReplacePermissionAssociationsWork.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace RAM
25{
26namespace Model
27{
29 {
30 public:
34
35
37
43 inline const ReplacePermissionAssociationsWork& GetReplacePermissionAssociationsWork() const{ return m_replacePermissionAssociationsWork; }
44 inline void SetReplacePermissionAssociationsWork(const ReplacePermissionAssociationsWork& value) { m_replacePermissionAssociationsWork = value; }
45 inline void SetReplacePermissionAssociationsWork(ReplacePermissionAssociationsWork&& value) { m_replacePermissionAssociationsWork = std::move(value); }
49
51
58 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
59 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
60 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
61 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
63 inline ReplacePermissionAssociationsResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
64 inline ReplacePermissionAssociationsResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline ReplacePermissionAssociationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline ReplacePermissionAssociationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline ReplacePermissionAssociationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 ReplacePermissionAssociationsWork m_replacePermissionAssociationsWork;
80
81 Aws::String m_clientToken;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace RAM
88} // namespace Aws
ReplacePermissionAssociationsResult & WithClientToken(const char *value)
AWS_RAM_API ReplacePermissionAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReplacePermissionAssociationsResult & WithClientToken(const Aws::String &value)
void SetReplacePermissionAssociationsWork(const ReplacePermissionAssociationsWork &value)
void SetReplacePermissionAssociationsWork(ReplacePermissionAssociationsWork &&value)
ReplacePermissionAssociationsResult & WithReplacePermissionAssociationsWork(const ReplacePermissionAssociationsWork &value)
ReplacePermissionAssociationsResult & WithRequestId(Aws::String &&value)
ReplacePermissionAssociationsResult & WithRequestId(const char *value)
ReplacePermissionAssociationsResult & WithReplacePermissionAssociationsWork(ReplacePermissionAssociationsWork &&value)
ReplacePermissionAssociationsResult & WithClientToken(Aws::String &&value)
const ReplacePermissionAssociationsWork & GetReplacePermissionAssociationsWork() const
AWS_RAM_API ReplacePermissionAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReplacePermissionAssociationsResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue