AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentAccountConnectionSummary.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/EnvironmentAccountConnectionStatus.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 Proton
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline EnvironmentAccountConnectionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline EnvironmentAccountConnectionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline EnvironmentAccountConnectionSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
69 inline const Aws::String& GetComponentRoleArn() const{ return m_componentRoleArn; }
70 inline bool ComponentRoleArnHasBeenSet() const { return m_componentRoleArnHasBeenSet; }
71 inline void SetComponentRoleArn(const Aws::String& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = value; }
72 inline void SetComponentRoleArn(Aws::String&& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = std::move(value); }
73 inline void SetComponentRoleArn(const char* value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn.assign(value); }
76 inline EnvironmentAccountConnectionSummary& WithComponentRoleArn(const char* value) { SetComponentRoleArn(value); return *this;}
78
80
84 inline const Aws::String& GetEnvironmentAccountId() const{ return m_environmentAccountId; }
85 inline bool EnvironmentAccountIdHasBeenSet() const { return m_environmentAccountIdHasBeenSet; }
86 inline void SetEnvironmentAccountId(const Aws::String& value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId = value; }
87 inline void SetEnvironmentAccountId(Aws::String&& value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId = std::move(value); }
88 inline void SetEnvironmentAccountId(const char* value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId.assign(value); }
93
95
99 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
100 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
101 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
102 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
103 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
106 inline EnvironmentAccountConnectionSummary& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
108
110
113 inline const Aws::String& GetId() const{ return m_id; }
114 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
115 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
116 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
117 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
118 inline EnvironmentAccountConnectionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
119 inline EnvironmentAccountConnectionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
120 inline EnvironmentAccountConnectionSummary& WithId(const char* value) { SetId(value); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
128 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
129 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
130 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
134
136
140 inline const Aws::String& GetManagementAccountId() const{ return m_managementAccountId; }
141 inline bool ManagementAccountIdHasBeenSet() const { return m_managementAccountIdHasBeenSet; }
142 inline void SetManagementAccountId(const Aws::String& value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId = value; }
143 inline void SetManagementAccountId(Aws::String&& value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId = std::move(value); }
144 inline void SetManagementAccountId(const char* value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId.assign(value); }
149
151
154 inline const Aws::Utils::DateTime& GetRequestedAt() const{ return m_requestedAt; }
155 inline bool RequestedAtHasBeenSet() const { return m_requestedAtHasBeenSet; }
156 inline void SetRequestedAt(const Aws::Utils::DateTime& value) { m_requestedAtHasBeenSet = true; m_requestedAt = value; }
157 inline void SetRequestedAt(Aws::Utils::DateTime&& value) { m_requestedAtHasBeenSet = true; m_requestedAt = std::move(value); }
161
163
167 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
168 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
169 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
170 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
171 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
172 inline EnvironmentAccountConnectionSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
173 inline EnvironmentAccountConnectionSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
174 inline EnvironmentAccountConnectionSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
176
178
181 inline const EnvironmentAccountConnectionStatus& GetStatus() const{ return m_status; }
182 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
183 inline void SetStatus(const EnvironmentAccountConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
184 inline void SetStatus(EnvironmentAccountConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
188 private:
189
190 Aws::String m_arn;
191 bool m_arnHasBeenSet = false;
192
193 Aws::String m_componentRoleArn;
194 bool m_componentRoleArnHasBeenSet = false;
195
196 Aws::String m_environmentAccountId;
197 bool m_environmentAccountIdHasBeenSet = false;
198
199 Aws::String m_environmentName;
200 bool m_environmentNameHasBeenSet = false;
201
202 Aws::String m_id;
203 bool m_idHasBeenSet = false;
204
205 Aws::Utils::DateTime m_lastModifiedAt;
206 bool m_lastModifiedAtHasBeenSet = false;
207
208 Aws::String m_managementAccountId;
209 bool m_managementAccountIdHasBeenSet = false;
210
211 Aws::Utils::DateTime m_requestedAt;
212 bool m_requestedAtHasBeenSet = false;
213
214 Aws::String m_roleArn;
215 bool m_roleArnHasBeenSet = false;
216
218 bool m_statusHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace Proton
223} // namespace Aws
EnvironmentAccountConnectionSummary & WithId(const char *value)
EnvironmentAccountConnectionSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
AWS_PROTON_API EnvironmentAccountConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
EnvironmentAccountConnectionSummary & WithEnvironmentName(const char *value)
EnvironmentAccountConnectionSummary & WithArn(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithRequestedAt(Aws::Utils::DateTime &&value)
EnvironmentAccountConnectionSummary & WithEnvironmentAccountId(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithRequestedAt(const Aws::Utils::DateTime &value)
EnvironmentAccountConnectionSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
EnvironmentAccountConnectionSummary & WithEnvironmentName(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithComponentRoleArn(const char *value)
EnvironmentAccountConnectionSummary & WithRoleArn(Aws::String &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentAccountConnectionSummary & WithArn(const char *value)
EnvironmentAccountConnectionSummary & WithId(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithArn(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithEnvironmentName(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithManagementAccountId(const char *value)
EnvironmentAccountConnectionSummary & WithStatus(EnvironmentAccountConnectionStatus &&value)
EnvironmentAccountConnectionSummary & WithComponentRoleArn(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithRoleArn(const char *value)
EnvironmentAccountConnectionSummary & WithStatus(const EnvironmentAccountConnectionStatus &value)
EnvironmentAccountConnectionSummary & WithManagementAccountId(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithId(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithRoleArn(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithEnvironmentAccountId(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithManagementAccountId(Aws::String &&value)
void SetStatus(const EnvironmentAccountConnectionStatus &value)
EnvironmentAccountConnectionSummary & WithEnvironmentAccountId(const char *value)
EnvironmentAccountConnectionSummary & WithComponentRoleArn(const Aws::String &value)
AWS_PROTON_API EnvironmentAccountConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue