AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceNetworkSummary.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
33 {
34 public:
35 AWS_VPCLATTICE_API ServiceNetworkSummary() = default;
38 AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 ServiceNetworkSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template<typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
62 template<typename CreatedAtT = Aws::Utils::DateTime>
63 ServiceNetworkSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
65
67
70 inline const Aws::String& GetId() const { return m_id; }
71 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
72 template<typename IdT = Aws::String>
73 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
74 template<typename IdT = Aws::String>
75 ServiceNetworkSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
77
79
83 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
84 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
85 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
86 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
87 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
88 ServiceNetworkSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
90
92
95 inline const Aws::String& GetName() const { return m_name; }
96 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
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 ServiceNetworkSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
102
104
107 inline long long GetNumberOfAssociatedResourceConfigurations() const { return m_numberOfAssociatedResourceConfigurations; }
108 inline bool NumberOfAssociatedResourceConfigurationsHasBeenSet() const { return m_numberOfAssociatedResourceConfigurationsHasBeenSet; }
109 inline void SetNumberOfAssociatedResourceConfigurations(long long value) { m_numberOfAssociatedResourceConfigurationsHasBeenSet = true; m_numberOfAssociatedResourceConfigurations = value; }
112
114
117 inline long long GetNumberOfAssociatedServices() const { return m_numberOfAssociatedServices; }
118 inline bool NumberOfAssociatedServicesHasBeenSet() const { return m_numberOfAssociatedServicesHasBeenSet; }
119 inline void SetNumberOfAssociatedServices(long long value) { m_numberOfAssociatedServicesHasBeenSet = true; m_numberOfAssociatedServices = value; }
122
124
127 inline long long GetNumberOfAssociatedVPCs() const { return m_numberOfAssociatedVPCs; }
128 inline bool NumberOfAssociatedVPCsHasBeenSet() const { return m_numberOfAssociatedVPCsHasBeenSet; }
129 inline void SetNumberOfAssociatedVPCs(long long value) { m_numberOfAssociatedVPCsHasBeenSet = true; m_numberOfAssociatedVPCs = value; }
130 inline ServiceNetworkSummary& WithNumberOfAssociatedVPCs(long long value) { SetNumberOfAssociatedVPCs(value); return *this;}
132 private:
133
134 Aws::String m_arn;
135 bool m_arnHasBeenSet = false;
136
137 Aws::Utils::DateTime m_createdAt{};
138 bool m_createdAtHasBeenSet = false;
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::Utils::DateTime m_lastUpdatedAt{};
144 bool m_lastUpdatedAtHasBeenSet = false;
145
146 Aws::String m_name;
147 bool m_nameHasBeenSet = false;
148
149 long long m_numberOfAssociatedResourceConfigurations{0};
150 bool m_numberOfAssociatedResourceConfigurationsHasBeenSet = false;
151
152 long long m_numberOfAssociatedServices{0};
153 bool m_numberOfAssociatedServicesHasBeenSet = false;
154
155 long long m_numberOfAssociatedVPCs{0};
156 bool m_numberOfAssociatedVPCsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace VPCLattice
161} // namespace Aws
ServiceNetworkSummary & WithNumberOfAssociatedVPCs(long long value)
ServiceNetworkSummary & WithId(IdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
ServiceNetworkSummary & WithCreatedAt(CreatedAtT &&value)
AWS_VPCLATTICE_API ServiceNetworkSummary()=default
AWS_VPCLATTICE_API ServiceNetworkSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkSummary & WithNumberOfAssociatedServices(long long value)
ServiceNetworkSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
ServiceNetworkSummary & WithArn(ArnT &&value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceNetworkSummary & WithName(NameT &&value)
ServiceNetworkSummary & WithNumberOfAssociatedResourceConfigurations(long long value)
AWS_VPCLATTICE_API ServiceNetworkSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue