AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
37 AWS_VPCLATTICE_API ServiceNetworkVpcAssociationSummary() = default;
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 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 ServiceNetworkVpcAssociationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
60 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
61 template<typename CreatedAtT = Aws::Utils::DateTime>
62 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
63 template<typename CreatedAtT = Aws::Utils::DateTime>
64 ServiceNetworkVpcAssociationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
66
68
71 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
72 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
73 template<typename CreatedByT = Aws::String>
74 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
75 template<typename CreatedByT = Aws::String>
76 ServiceNetworkVpcAssociationSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
78
80
83 inline const Aws::String& GetId() const { return m_id; }
84 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
85 template<typename IdT = Aws::String>
86 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
87 template<typename IdT = Aws::String>
88 ServiceNetworkVpcAssociationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
97 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
98 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
99 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
100 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
101 ServiceNetworkVpcAssociationSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
103
105
108 inline const Aws::String& GetServiceNetworkArn() const { return m_serviceNetworkArn; }
109 inline bool ServiceNetworkArnHasBeenSet() const { return m_serviceNetworkArnHasBeenSet; }
110 template<typename ServiceNetworkArnT = Aws::String>
111 void SetServiceNetworkArn(ServiceNetworkArnT&& value) { m_serviceNetworkArnHasBeenSet = true; m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value); }
112 template<typename ServiceNetworkArnT = Aws::String>
113 ServiceNetworkVpcAssociationSummary& WithServiceNetworkArn(ServiceNetworkArnT&& value) { SetServiceNetworkArn(std::forward<ServiceNetworkArnT>(value)); return *this;}
115
117
120 inline const Aws::String& GetServiceNetworkId() const { return m_serviceNetworkId; }
121 inline bool ServiceNetworkIdHasBeenSet() const { return m_serviceNetworkIdHasBeenSet; }
122 template<typename ServiceNetworkIdT = Aws::String>
123 void SetServiceNetworkId(ServiceNetworkIdT&& value) { m_serviceNetworkIdHasBeenSet = true; m_serviceNetworkId = std::forward<ServiceNetworkIdT>(value); }
124 template<typename ServiceNetworkIdT = Aws::String>
125 ServiceNetworkVpcAssociationSummary& WithServiceNetworkId(ServiceNetworkIdT&& value) { SetServiceNetworkId(std::forward<ServiceNetworkIdT>(value)); return *this;}
127
129
132 inline const Aws::String& GetServiceNetworkName() const { return m_serviceNetworkName; }
133 inline bool ServiceNetworkNameHasBeenSet() const { return m_serviceNetworkNameHasBeenSet; }
134 template<typename ServiceNetworkNameT = Aws::String>
135 void SetServiceNetworkName(ServiceNetworkNameT&& value) { m_serviceNetworkNameHasBeenSet = true; m_serviceNetworkName = std::forward<ServiceNetworkNameT>(value); }
136 template<typename ServiceNetworkNameT = Aws::String>
137 ServiceNetworkVpcAssociationSummary& WithServiceNetworkName(ServiceNetworkNameT&& value) { SetServiceNetworkName(std::forward<ServiceNetworkNameT>(value)); return *this;}
139
141
144 inline ServiceNetworkVpcAssociationStatus GetStatus() const { return m_status; }
145 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
146 inline void SetStatus(ServiceNetworkVpcAssociationStatus value) { m_statusHasBeenSet = true; m_status = value; }
149
151
154 inline const Aws::String& GetVpcId() const { return m_vpcId; }
155 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
156 template<typename VpcIdT = Aws::String>
157 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
158 template<typename VpcIdT = Aws::String>
159 ServiceNetworkVpcAssociationSummary& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
161 private:
162
163 Aws::String m_arn;
164 bool m_arnHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdAt{};
167 bool m_createdAtHasBeenSet = false;
168
169 Aws::String m_createdBy;
170 bool m_createdByHasBeenSet = false;
171
172 Aws::String m_id;
173 bool m_idHasBeenSet = false;
174
175 Aws::Utils::DateTime m_lastUpdatedAt{};
176 bool m_lastUpdatedAtHasBeenSet = false;
177
178 Aws::String m_serviceNetworkArn;
179 bool m_serviceNetworkArnHasBeenSet = false;
180
181 Aws::String m_serviceNetworkId;
182 bool m_serviceNetworkIdHasBeenSet = false;
183
184 Aws::String m_serviceNetworkName;
185 bool m_serviceNetworkNameHasBeenSet = false;
186
188 bool m_statusHasBeenSet = false;
189
190 Aws::String m_vpcId;
191 bool m_vpcIdHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace VPCLattice
196} // namespace Aws
ServiceNetworkVpcAssociationSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkName(ServiceNetworkNameT &&value)
ServiceNetworkVpcAssociationSummary & WithStatus(ServiceNetworkVpcAssociationStatus value)
ServiceNetworkVpcAssociationSummary & WithCreatedAt(CreatedAtT &&value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceNetworkVpcAssociationSummary & WithServiceNetworkArn(ServiceNetworkArnT &&value)
ServiceNetworkVpcAssociationSummary & WithServiceNetworkId(ServiceNetworkIdT &&value)
AWS_VPCLATTICE_API ServiceNetworkVpcAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkVpcAssociationSummary & WithVpcId(VpcIdT &&value)
AWS_VPCLATTICE_API ServiceNetworkVpcAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_VPCLATTICE_API ServiceNetworkVpcAssociationSummary()=default
ServiceNetworkVpcAssociationSummary & WithCreatedBy(CreatedByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue