AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceNetworkVpcAssociationSummary.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/vpc-lattice/model/ServiceNetworkVpcAssociationStatus.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 VPCLattice
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_VPCLATTICE_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 ServiceNetworkVpcAssociationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ServiceNetworkVpcAssociationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ServiceNetworkVpcAssociationSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
62 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
63 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
64 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
65 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
67 inline ServiceNetworkVpcAssociationSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
75 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
76 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
77 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
78 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
79 inline ServiceNetworkVpcAssociationSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
80 inline ServiceNetworkVpcAssociationSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
81 inline ServiceNetworkVpcAssociationSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
83
85
88 inline const Aws::String& GetId() const{ return m_id; }
89 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
90 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
91 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
92 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
93 inline ServiceNetworkVpcAssociationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
94 inline ServiceNetworkVpcAssociationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
95 inline ServiceNetworkVpcAssociationSummary& WithId(const char* value) { SetId(value); return *this;}
97
99
103 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
104 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
105 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
106 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
110
112
115 inline const Aws::String& GetServiceNetworkArn() const{ return m_serviceNetworkArn; }
116 inline bool ServiceNetworkArnHasBeenSet() const { return m_serviceNetworkArnHasBeenSet; }
117 inline void SetServiceNetworkArn(const Aws::String& value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn = value; }
118 inline void SetServiceNetworkArn(Aws::String&& value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn = std::move(value); }
119 inline void SetServiceNetworkArn(const char* value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn.assign(value); }
122 inline ServiceNetworkVpcAssociationSummary& WithServiceNetworkArn(const char* value) { SetServiceNetworkArn(value); return *this;}
124
126
129 inline const Aws::String& GetServiceNetworkId() const{ return m_serviceNetworkId; }
130 inline bool ServiceNetworkIdHasBeenSet() const { return m_serviceNetworkIdHasBeenSet; }
131 inline void SetServiceNetworkId(const Aws::String& value) { m_serviceNetworkIdHasBeenSet = true; m_serviceNetworkId = value; }
132 inline void SetServiceNetworkId(Aws::String&& value) { m_serviceNetworkIdHasBeenSet = true; m_serviceNetworkId = std::move(value); }
133 inline void SetServiceNetworkId(const char* value) { m_serviceNetworkIdHasBeenSet = true; m_serviceNetworkId.assign(value); }
136 inline ServiceNetworkVpcAssociationSummary& WithServiceNetworkId(const char* value) { SetServiceNetworkId(value); return *this;}
138
140
143 inline const Aws::String& GetServiceNetworkName() const{ return m_serviceNetworkName; }
144 inline bool ServiceNetworkNameHasBeenSet() const { return m_serviceNetworkNameHasBeenSet; }
145 inline void SetServiceNetworkName(const Aws::String& value) { m_serviceNetworkNameHasBeenSet = true; m_serviceNetworkName = value; }
146 inline void SetServiceNetworkName(Aws::String&& value) { m_serviceNetworkNameHasBeenSet = true; m_serviceNetworkName = std::move(value); }
147 inline void SetServiceNetworkName(const char* value) { m_serviceNetworkNameHasBeenSet = true; m_serviceNetworkName.assign(value); }
150 inline ServiceNetworkVpcAssociationSummary& WithServiceNetworkName(const char* value) { SetServiceNetworkName(value); return *this;}
152
154
157 inline const ServiceNetworkVpcAssociationStatus& GetStatus() const{ return m_status; }
158 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
159 inline void SetStatus(const ServiceNetworkVpcAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
160 inline void SetStatus(ServiceNetworkVpcAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
164
166
169 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
170 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
171 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
172 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
173 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
174 inline ServiceNetworkVpcAssociationSummary& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
175 inline ServiceNetworkVpcAssociationSummary& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
176 inline ServiceNetworkVpcAssociationSummary& WithVpcId(const char* value) { SetVpcId(value); return *this;}
178 private:
179
180 Aws::String m_arn;
181 bool m_arnHasBeenSet = false;
182
183 Aws::Utils::DateTime m_createdAt;
184 bool m_createdAtHasBeenSet = false;
185
186 Aws::String m_createdBy;
187 bool m_createdByHasBeenSet = false;
188
189 Aws::String m_id;
190 bool m_idHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastUpdatedAt;
193 bool m_lastUpdatedAtHasBeenSet = false;
194
195 Aws::String m_serviceNetworkArn;
196 bool m_serviceNetworkArnHasBeenSet = false;
197
198 Aws::String m_serviceNetworkId;
199 bool m_serviceNetworkIdHasBeenSet = false;
200
201 Aws::String m_serviceNetworkName;
202 bool m_serviceNetworkNameHasBeenSet = false;
203
205 bool m_statusHasBeenSet = false;
206
207 Aws::String m_vpcId;
208 bool m_vpcIdHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace VPCLattice
213} // namespace Aws
ServiceNetworkVpcAssociationSummary & WithStatus(ServiceNetworkVpcAssociationStatus &&value)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkId(Aws::String &&value)
ServiceNetworkVpcAssociationSummary & WithArn(const Aws::String &value)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkName(const char *value)
ServiceNetworkVpcAssociationSummary & WithId(const Aws::String &value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceNetworkVpcAssociationSummary & WithServiceNetworkId(const char *value)
ServiceNetworkVpcAssociationSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
ServiceNetworkVpcAssociationSummary & WithStatus(const ServiceNetworkVpcAssociationStatus &value)
ServiceNetworkVpcAssociationSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ServiceNetworkVpcAssociationSummary & WithVpcId(Aws::String &&value)
ServiceNetworkVpcAssociationSummary & WithId(Aws::String &&value)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkId(const Aws::String &value)
ServiceNetworkVpcAssociationSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_VPCLATTICE_API ServiceNetworkVpcAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkVpcAssociationSummary & WithVpcId(const Aws::String &value)
ServiceNetworkVpcAssociationSummary & WithArn(const char *value)
ServiceNetworkVpcAssociationSummary & WithArn(Aws::String &&value)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkArn(const char *value)
void SetStatus(const ServiceNetworkVpcAssociationStatus &value)
ServiceNetworkVpcAssociationSummary & WithId(const char *value)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkArn(const Aws::String &value)
ServiceNetworkVpcAssociationSummary & WithCreatedBy(Aws::String &&value)
AWS_VPCLATTICE_API ServiceNetworkVpcAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkName(Aws::String &&value)
ServiceNetworkVpcAssociationSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
ServiceNetworkVpcAssociationSummary & WithCreatedBy(const Aws::String &value)
ServiceNetworkVpcAssociationSummary & WithVpcId(const char *value)
ServiceNetworkVpcAssociationSummary & WithCreatedBy(const char *value)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkName(const Aws::String &value)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue