AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
37 AWS_PROTON_API EnvironmentAccountConnectionSummary() = default;
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 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 EnvironmentAccountConnectionSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
67 inline const Aws::String& GetComponentRoleArn() const { return m_componentRoleArn; }
68 inline bool ComponentRoleArnHasBeenSet() const { return m_componentRoleArnHasBeenSet; }
69 template<typename ComponentRoleArnT = Aws::String>
70 void SetComponentRoleArn(ComponentRoleArnT&& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = std::forward<ComponentRoleArnT>(value); }
71 template<typename ComponentRoleArnT = Aws::String>
72 EnvironmentAccountConnectionSummary& WithComponentRoleArn(ComponentRoleArnT&& value) { SetComponentRoleArn(std::forward<ComponentRoleArnT>(value)); return *this;}
74
76
80 inline const Aws::String& GetEnvironmentAccountId() const { return m_environmentAccountId; }
81 inline bool EnvironmentAccountIdHasBeenSet() const { return m_environmentAccountIdHasBeenSet; }
82 template<typename EnvironmentAccountIdT = Aws::String>
83 void SetEnvironmentAccountId(EnvironmentAccountIdT&& value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId = std::forward<EnvironmentAccountIdT>(value); }
84 template<typename EnvironmentAccountIdT = Aws::String>
85 EnvironmentAccountConnectionSummary& WithEnvironmentAccountId(EnvironmentAccountIdT&& value) { SetEnvironmentAccountId(std::forward<EnvironmentAccountIdT>(value)); return *this;}
87
89
93 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
94 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
95 template<typename EnvironmentNameT = Aws::String>
96 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
97 template<typename EnvironmentNameT = Aws::String>
98 EnvironmentAccountConnectionSummary& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
100
102
105 inline const Aws::String& GetId() const { return m_id; }
106 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
107 template<typename IdT = Aws::String>
108 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
109 template<typename IdT = Aws::String>
110 EnvironmentAccountConnectionSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
118 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
119 template<typename LastModifiedAtT = Aws::Utils::DateTime>
120 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
121 template<typename LastModifiedAtT = Aws::Utils::DateTime>
122 EnvironmentAccountConnectionSummary& WithLastModifiedAt(LastModifiedAtT&& value) { SetLastModifiedAt(std::forward<LastModifiedAtT>(value)); return *this;}
124
126
130 inline const Aws::String& GetManagementAccountId() const { return m_managementAccountId; }
131 inline bool ManagementAccountIdHasBeenSet() const { return m_managementAccountIdHasBeenSet; }
132 template<typename ManagementAccountIdT = Aws::String>
133 void SetManagementAccountId(ManagementAccountIdT&& value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId = std::forward<ManagementAccountIdT>(value); }
134 template<typename ManagementAccountIdT = Aws::String>
135 EnvironmentAccountConnectionSummary& WithManagementAccountId(ManagementAccountIdT&& value) { SetManagementAccountId(std::forward<ManagementAccountIdT>(value)); return *this;}
137
139
142 inline const Aws::Utils::DateTime& GetRequestedAt() const { return m_requestedAt; }
143 inline bool RequestedAtHasBeenSet() const { return m_requestedAtHasBeenSet; }
144 template<typename RequestedAtT = Aws::Utils::DateTime>
145 void SetRequestedAt(RequestedAtT&& value) { m_requestedAtHasBeenSet = true; m_requestedAt = std::forward<RequestedAtT>(value); }
146 template<typename RequestedAtT = Aws::Utils::DateTime>
147 EnvironmentAccountConnectionSummary& WithRequestedAt(RequestedAtT&& value) { SetRequestedAt(std::forward<RequestedAtT>(value)); return *this;}
149
151
155 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
156 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
157 template<typename RoleArnT = Aws::String>
158 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
159 template<typename RoleArnT = Aws::String>
160 EnvironmentAccountConnectionSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
162
164
167 inline EnvironmentAccountConnectionStatus GetStatus() const { return m_status; }
168 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
169 inline void SetStatus(EnvironmentAccountConnectionStatus value) { m_statusHasBeenSet = true; m_status = value; }
172 private:
173
174 Aws::String m_arn;
175 bool m_arnHasBeenSet = false;
176
177 Aws::String m_componentRoleArn;
178 bool m_componentRoleArnHasBeenSet = false;
179
180 Aws::String m_environmentAccountId;
181 bool m_environmentAccountIdHasBeenSet = false;
182
183 Aws::String m_environmentName;
184 bool m_environmentNameHasBeenSet = false;
185
186 Aws::String m_id;
187 bool m_idHasBeenSet = false;
188
189 Aws::Utils::DateTime m_lastModifiedAt{};
190 bool m_lastModifiedAtHasBeenSet = false;
191
192 Aws::String m_managementAccountId;
193 bool m_managementAccountIdHasBeenSet = false;
194
195 Aws::Utils::DateTime m_requestedAt{};
196 bool m_requestedAtHasBeenSet = false;
197
198 Aws::String m_roleArn;
199 bool m_roleArnHasBeenSet = false;
200
202 bool m_statusHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace Proton
207} // namespace Aws
EnvironmentAccountConnectionSummary & WithEnvironmentAccountId(EnvironmentAccountIdT &&value)
AWS_PROTON_API EnvironmentAccountConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
EnvironmentAccountConnectionSummary & WithRoleArn(RoleArnT &&value)
EnvironmentAccountConnectionSummary & WithComponentRoleArn(ComponentRoleArnT &&value)
EnvironmentAccountConnectionSummary & WithArn(ArnT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentAccountConnectionSummary & WithLastModifiedAt(LastModifiedAtT &&value)
EnvironmentAccountConnectionSummary & WithRequestedAt(RequestedAtT &&value)
EnvironmentAccountConnectionSummary & WithEnvironmentName(EnvironmentNameT &&value)
EnvironmentAccountConnectionSummary & WithManagementAccountId(ManagementAccountIdT &&value)
EnvironmentAccountConnectionSummary & WithStatus(EnvironmentAccountConnectionStatus 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