AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplacePermissionAssociationsWork.h
1
6#pragma once
7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/model/ReplacePermissionAssociationsWorkStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace RAM
24{
25namespace Model
26{
27
36 {
37 public:
42
43
45
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline ReplacePermissionAssociationsWork& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline ReplacePermissionAssociationsWork& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline ReplacePermissionAssociationsWork& WithId(const char* value) { SetId(value); return *this;}
58
60
66 inline const Aws::String& GetFromPermissionArn() const{ return m_fromPermissionArn; }
67 inline bool FromPermissionArnHasBeenSet() const { return m_fromPermissionArnHasBeenSet; }
68 inline void SetFromPermissionArn(const Aws::String& value) { m_fromPermissionArnHasBeenSet = true; m_fromPermissionArn = value; }
69 inline void SetFromPermissionArn(Aws::String&& value) { m_fromPermissionArnHasBeenSet = true; m_fromPermissionArn = std::move(value); }
70 inline void SetFromPermissionArn(const char* value) { m_fromPermissionArnHasBeenSet = true; m_fromPermissionArn.assign(value); }
73 inline ReplacePermissionAssociationsWork& WithFromPermissionArn(const char* value) { SetFromPermissionArn(value); return *this;}
75
77
81 inline const Aws::String& GetFromPermissionVersion() const{ return m_fromPermissionVersion; }
82 inline bool FromPermissionVersionHasBeenSet() const { return m_fromPermissionVersionHasBeenSet; }
83 inline void SetFromPermissionVersion(const Aws::String& value) { m_fromPermissionVersionHasBeenSet = true; m_fromPermissionVersion = value; }
84 inline void SetFromPermissionVersion(Aws::String&& value) { m_fromPermissionVersionHasBeenSet = true; m_fromPermissionVersion = std::move(value); }
85 inline void SetFromPermissionVersion(const char* value) { m_fromPermissionVersionHasBeenSet = true; m_fromPermissionVersion.assign(value); }
90
92
98 inline const Aws::String& GetToPermissionArn() const{ return m_toPermissionArn; }
99 inline bool ToPermissionArnHasBeenSet() const { return m_toPermissionArnHasBeenSet; }
100 inline void SetToPermissionArn(const Aws::String& value) { m_toPermissionArnHasBeenSet = true; m_toPermissionArn = value; }
101 inline void SetToPermissionArn(Aws::String&& value) { m_toPermissionArnHasBeenSet = true; m_toPermissionArn = std::move(value); }
102 inline void SetToPermissionArn(const char* value) { m_toPermissionArnHasBeenSet = true; m_toPermissionArn.assign(value); }
104 inline ReplacePermissionAssociationsWork& WithToPermissionArn(Aws::String&& value) { SetToPermissionArn(std::move(value)); return *this;}
105 inline ReplacePermissionAssociationsWork& WithToPermissionArn(const char* value) { SetToPermissionArn(value); return *this;}
107
109
114 inline const Aws::String& GetToPermissionVersion() const{ return m_toPermissionVersion; }
115 inline bool ToPermissionVersionHasBeenSet() const { return m_toPermissionVersionHasBeenSet; }
116 inline void SetToPermissionVersion(const Aws::String& value) { m_toPermissionVersionHasBeenSet = true; m_toPermissionVersion = value; }
117 inline void SetToPermissionVersion(Aws::String&& value) { m_toPermissionVersionHasBeenSet = true; m_toPermissionVersion = std::move(value); }
118 inline void SetToPermissionVersion(const char* value) { m_toPermissionVersionHasBeenSet = true; m_toPermissionVersion.assign(value); }
121 inline ReplacePermissionAssociationsWork& WithToPermissionVersion(const char* value) { SetToPermissionVersion(value); return *this;}
123
125
131 inline const ReplacePermissionAssociationsWorkStatus& GetStatus() const{ return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(const ReplacePermissionAssociationsWorkStatus& value) { m_statusHasBeenSet = true; m_status = value; }
134 inline void SetStatus(ReplacePermissionAssociationsWorkStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
138
140
144 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
145 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
146 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
147 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
148 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
150 inline ReplacePermissionAssociationsWork& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
151 inline ReplacePermissionAssociationsWork& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
153
155
158 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
159 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
160 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
161 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
165
167
171 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
172 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
173 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
174 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
178 private:
179
180 Aws::String m_id;
181 bool m_idHasBeenSet = false;
182
183 Aws::String m_fromPermissionArn;
184 bool m_fromPermissionArnHasBeenSet = false;
185
186 Aws::String m_fromPermissionVersion;
187 bool m_fromPermissionVersionHasBeenSet = false;
188
189 Aws::String m_toPermissionArn;
190 bool m_toPermissionArnHasBeenSet = false;
191
192 Aws::String m_toPermissionVersion;
193 bool m_toPermissionVersionHasBeenSet = false;
194
196 bool m_statusHasBeenSet = false;
197
198 Aws::String m_statusMessage;
199 bool m_statusMessageHasBeenSet = false;
200
201 Aws::Utils::DateTime m_creationTime;
202 bool m_creationTimeHasBeenSet = false;
203
204 Aws::Utils::DateTime m_lastUpdatedTime;
205 bool m_lastUpdatedTimeHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace RAM
210} // namespace Aws
ReplacePermissionAssociationsWork & WithFromPermissionVersion(Aws::String &&value)
ReplacePermissionAssociationsWork & WithStatus(const ReplacePermissionAssociationsWorkStatus &value)
ReplacePermissionAssociationsWork & WithFromPermissionVersion(const Aws::String &value)
ReplacePermissionAssociationsWork & WithStatus(ReplacePermissionAssociationsWorkStatus &&value)
AWS_RAM_API ReplacePermissionAssociationsWork & operator=(Aws::Utils::Json::JsonView jsonValue)
const ReplacePermissionAssociationsWorkStatus & GetStatus() const
ReplacePermissionAssociationsWork & WithStatusMessage(const Aws::String &value)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
ReplacePermissionAssociationsWork & WithId(Aws::String &&value)
ReplacePermissionAssociationsWork & WithFromPermissionVersion(const char *value)
ReplacePermissionAssociationsWork & WithId(const Aws::String &value)
ReplacePermissionAssociationsWork & WithToPermissionVersion(Aws::String &&value)
ReplacePermissionAssociationsWork & WithToPermissionArn(const Aws::String &value)
ReplacePermissionAssociationsWork & WithCreationTime(const Aws::Utils::DateTime &value)
void SetStatus(const ReplacePermissionAssociationsWorkStatus &value)
void SetStatus(ReplacePermissionAssociationsWorkStatus &&value)
ReplacePermissionAssociationsWork & WithStatusMessage(const char *value)
ReplacePermissionAssociationsWork & WithStatusMessage(Aws::String &&value)
ReplacePermissionAssociationsWork & WithToPermissionVersion(const char *value)
AWS_RAM_API ReplacePermissionAssociationsWork(Aws::Utils::Json::JsonView jsonValue)
ReplacePermissionAssociationsWork & WithToPermissionArn(Aws::String &&value)
ReplacePermissionAssociationsWork & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
ReplacePermissionAssociationsWork & WithFromPermissionArn(Aws::String &&value)
ReplacePermissionAssociationsWork & WithCreationTime(Aws::Utils::DateTime &&value)
ReplacePermissionAssociationsWork & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ReplacePermissionAssociationsWork & WithToPermissionVersion(const Aws::String &value)
ReplacePermissionAssociationsWork & WithToPermissionArn(const char *value)
ReplacePermissionAssociationsWork & WithId(const char *value)
ReplacePermissionAssociationsWork & WithFromPermissionArn(const char *value)
ReplacePermissionAssociationsWork & WithFromPermissionArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue