AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResourceEndpointAssociationSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace VPCLattice
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_VPCLATTICE_API ResourceEndpointAssociationSummary() = default;
39 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 ResourceEndpointAssociationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
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 ResourceEndpointAssociationSummary& 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 ResourceEndpointAssociationSummary& 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 ResourceEndpointAssociationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
90
92
95 inline const Aws::String& GetResourceConfigurationArn() const { return m_resourceConfigurationArn; }
96 inline bool ResourceConfigurationArnHasBeenSet() const { return m_resourceConfigurationArnHasBeenSet; }
97 template<typename ResourceConfigurationArnT = Aws::String>
98 void SetResourceConfigurationArn(ResourceConfigurationArnT&& value) { m_resourceConfigurationArnHasBeenSet = true; m_resourceConfigurationArn = std::forward<ResourceConfigurationArnT>(value); }
99 template<typename ResourceConfigurationArnT = Aws::String>
100 ResourceEndpointAssociationSummary& WithResourceConfigurationArn(ResourceConfigurationArnT&& value) { SetResourceConfigurationArn(std::forward<ResourceConfigurationArnT>(value)); return *this;}
102
104
107 inline const Aws::String& GetResourceConfigurationId() const { return m_resourceConfigurationId; }
108 inline bool ResourceConfigurationIdHasBeenSet() const { return m_resourceConfigurationIdHasBeenSet; }
109 template<typename ResourceConfigurationIdT = Aws::String>
110 void SetResourceConfigurationId(ResourceConfigurationIdT&& value) { m_resourceConfigurationIdHasBeenSet = true; m_resourceConfigurationId = std::forward<ResourceConfigurationIdT>(value); }
111 template<typename ResourceConfigurationIdT = Aws::String>
112 ResourceEndpointAssociationSummary& WithResourceConfigurationId(ResourceConfigurationIdT&& value) { SetResourceConfigurationId(std::forward<ResourceConfigurationIdT>(value)); return *this;}
114
116
119 inline const Aws::String& GetResourceConfigurationName() const { return m_resourceConfigurationName; }
120 inline bool ResourceConfigurationNameHasBeenSet() const { return m_resourceConfigurationNameHasBeenSet; }
121 template<typename ResourceConfigurationNameT = Aws::String>
122 void SetResourceConfigurationName(ResourceConfigurationNameT&& value) { m_resourceConfigurationNameHasBeenSet = true; m_resourceConfigurationName = std::forward<ResourceConfigurationNameT>(value); }
123 template<typename ResourceConfigurationNameT = Aws::String>
124 ResourceEndpointAssociationSummary& WithResourceConfigurationName(ResourceConfigurationNameT&& value) { SetResourceConfigurationName(std::forward<ResourceConfigurationNameT>(value)); return *this;}
126
128
131 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
132 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
133 template<typename VpcEndpointIdT = Aws::String>
134 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
135 template<typename VpcEndpointIdT = Aws::String>
136 ResourceEndpointAssociationSummary& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
138
140
143 inline const Aws::String& GetVpcEndpointOwner() const { return m_vpcEndpointOwner; }
144 inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; }
145 template<typename VpcEndpointOwnerT = Aws::String>
146 void SetVpcEndpointOwner(VpcEndpointOwnerT&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::forward<VpcEndpointOwnerT>(value); }
147 template<typename VpcEndpointOwnerT = Aws::String>
148 ResourceEndpointAssociationSummary& WithVpcEndpointOwner(VpcEndpointOwnerT&& value) { SetVpcEndpointOwner(std::forward<VpcEndpointOwnerT>(value)); return *this;}
150 private:
151
152 Aws::String m_arn;
153 bool m_arnHasBeenSet = false;
154
155 Aws::Utils::DateTime m_createdAt{};
156 bool m_createdAtHasBeenSet = false;
157
158 Aws::String m_createdBy;
159 bool m_createdByHasBeenSet = false;
160
161 Aws::String m_id;
162 bool m_idHasBeenSet = false;
163
164 Aws::String m_resourceConfigurationArn;
165 bool m_resourceConfigurationArnHasBeenSet = false;
166
167 Aws::String m_resourceConfigurationId;
168 bool m_resourceConfigurationIdHasBeenSet = false;
169
170 Aws::String m_resourceConfigurationName;
171 bool m_resourceConfigurationNameHasBeenSet = false;
172
173 Aws::String m_vpcEndpointId;
174 bool m_vpcEndpointIdHasBeenSet = false;
175
176 Aws::String m_vpcEndpointOwner;
177 bool m_vpcEndpointOwnerHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace VPCLattice
182} // namespace Aws
ResourceEndpointAssociationSummary & WithVpcEndpointOwner(VpcEndpointOwnerT &&value)
ResourceEndpointAssociationSummary & WithResourceConfigurationName(ResourceConfigurationNameT &&value)
ResourceEndpointAssociationSummary & WithCreatedBy(CreatedByT &&value)
ResourceEndpointAssociationSummary & WithResourceConfigurationArn(ResourceConfigurationArnT &&value)
ResourceEndpointAssociationSummary & WithResourceConfigurationId(ResourceConfigurationIdT &&value)
AWS_VPCLATTICE_API ResourceEndpointAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
ResourceEndpointAssociationSummary & WithCreatedAt(CreatedAtT &&value)
AWS_VPCLATTICE_API ResourceEndpointAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceEndpointAssociationSummary & WithVpcEndpointId(VpcEndpointIdT &&value)
AWS_VPCLATTICE_API ResourceEndpointAssociationSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue