AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetServiceNetworkResult.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/vpc-lattice/model/AuthType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/vpc-lattice/model/SharingConfig.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace VPCLattice
27{
28namespace Model
29{
31 {
32 public:
33 AWS_VPCLATTICE_API GetServiceNetworkResult() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 GetServiceNetworkResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline AuthType GetAuthType() const { return m_authType; }
54 inline void SetAuthType(AuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
55 inline GetServiceNetworkResult& WithAuthType(AuthType value) { SetAuthType(value); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
64 template<typename CreatedAtT = Aws::Utils::DateTime>
65 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
66 template<typename CreatedAtT = Aws::Utils::DateTime>
67 GetServiceNetworkResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
69
71
74 inline const Aws::String& GetId() const { return m_id; }
75 template<typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
77 template<typename IdT = Aws::String>
78 GetServiceNetworkResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
86 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
87 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
88 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
89 GetServiceNetworkResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
91
93
96 inline const Aws::String& GetName() const { return m_name; }
97 template<typename NameT = Aws::String>
98 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
99 template<typename NameT = Aws::String>
100 GetServiceNetworkResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
102
104
107 inline long long GetNumberOfAssociatedServices() const { return m_numberOfAssociatedServices; }
108 inline void SetNumberOfAssociatedServices(long long value) { m_numberOfAssociatedServicesHasBeenSet = true; m_numberOfAssociatedServices = value; }
111
113
116 inline long long GetNumberOfAssociatedVPCs() const { return m_numberOfAssociatedVPCs; }
117 inline void SetNumberOfAssociatedVPCs(long long value) { m_numberOfAssociatedVPCsHasBeenSet = true; m_numberOfAssociatedVPCs = value; }
118 inline GetServiceNetworkResult& WithNumberOfAssociatedVPCs(long long value) { SetNumberOfAssociatedVPCs(value); return *this;}
120
122
125 inline const SharingConfig& GetSharingConfig() const { return m_sharingConfig; }
126 template<typename SharingConfigT = SharingConfig>
127 void SetSharingConfig(SharingConfigT&& value) { m_sharingConfigHasBeenSet = true; m_sharingConfig = std::forward<SharingConfigT>(value); }
128 template<typename SharingConfigT = SharingConfig>
129 GetServiceNetworkResult& WithSharingConfig(SharingConfigT&& value) { SetSharingConfig(std::forward<SharingConfigT>(value)); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template<typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
137 template<typename RequestIdT = Aws::String>
138 GetServiceNetworkResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
140 private:
141
142 Aws::String m_arn;
143 bool m_arnHasBeenSet = false;
144
145 AuthType m_authType{AuthType::NOT_SET};
146 bool m_authTypeHasBeenSet = false;
147
148 Aws::Utils::DateTime m_createdAt{};
149 bool m_createdAtHasBeenSet = false;
150
151 Aws::String m_id;
152 bool m_idHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastUpdatedAt{};
155 bool m_lastUpdatedAtHasBeenSet = false;
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
160 long long m_numberOfAssociatedServices{0};
161 bool m_numberOfAssociatedServicesHasBeenSet = false;
162
163 long long m_numberOfAssociatedVPCs{0};
164 bool m_numberOfAssociatedVPCsHasBeenSet = false;
165
166 SharingConfig m_sharingConfig;
167 bool m_sharingConfigHasBeenSet = false;
168
169 Aws::String m_requestId;
170 bool m_requestIdHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace VPCLattice
175} // namespace Aws
GetServiceNetworkResult & WithArn(ArnT &&value)
GetServiceNetworkResult & WithNumberOfAssociatedServices(long long value)
GetServiceNetworkResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_VPCLATTICE_API GetServiceNetworkResult()=default
GetServiceNetworkResult & WithSharingConfig(SharingConfigT &&value)
GetServiceNetworkResult & WithNumberOfAssociatedVPCs(long long value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetServiceNetworkResult & WithName(NameT &&value)
GetServiceNetworkResult & WithCreatedAt(CreatedAtT &&value)
GetServiceNetworkResult & WithId(IdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetServiceNetworkResult & WithRequestId(RequestIdT &&value)
AWS_VPCLATTICE_API GetServiceNetworkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceNetworkResult & WithAuthType(AuthType value)
AWS_VPCLATTICE_API GetServiceNetworkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue