AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceSummary.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/DnsEntry.h>
11#include <aws/vpc-lattice/model/ServiceStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace VPCLattice
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_VPCLATTICE_API ServiceSummary() = default;
38 AWS_VPCLATTICE_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_VPCLATTICE_API ServiceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
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 ServiceSummary& 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 ServiceSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
66
68
71 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
72 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
73 template<typename CustomDomainNameT = Aws::String>
74 void SetCustomDomainName(CustomDomainNameT&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::forward<CustomDomainNameT>(value); }
75 template<typename CustomDomainNameT = Aws::String>
76 ServiceSummary& WithCustomDomainName(CustomDomainNameT&& value) { SetCustomDomainName(std::forward<CustomDomainNameT>(value)); return *this;}
78
80
83 inline const DnsEntry& GetDnsEntry() const { return m_dnsEntry; }
84 inline bool DnsEntryHasBeenSet() const { return m_dnsEntryHasBeenSet; }
85 template<typename DnsEntryT = DnsEntry>
86 void SetDnsEntry(DnsEntryT&& value) { m_dnsEntryHasBeenSet = true; m_dnsEntry = std::forward<DnsEntryT>(value); }
87 template<typename DnsEntryT = DnsEntry>
88 ServiceSummary& WithDnsEntry(DnsEntryT&& value) { SetDnsEntry(std::forward<DnsEntryT>(value)); return *this;}
90
92
95 inline const Aws::String& GetId() const { return m_id; }
96 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
97 template<typename IdT = Aws::String>
98 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
99 template<typename IdT = Aws::String>
100 ServiceSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
108 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
109 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
110 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
111 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
112 ServiceSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
114
116
119 inline const Aws::String& GetName() const { return m_name; }
120 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
121 template<typename NameT = Aws::String>
122 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
123 template<typename NameT = Aws::String>
124 ServiceSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
126
128
131 inline ServiceStatus GetStatus() const { return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(ServiceStatus value) { m_statusHasBeenSet = true; m_status = value; }
134 inline ServiceSummary& WithStatus(ServiceStatus value) { SetStatus(value); return *this;}
136 private:
137
138 Aws::String m_arn;
139 bool m_arnHasBeenSet = false;
140
141 Aws::Utils::DateTime m_createdAt{};
142 bool m_createdAtHasBeenSet = false;
143
144 Aws::String m_customDomainName;
145 bool m_customDomainNameHasBeenSet = false;
146
147 DnsEntry m_dnsEntry;
148 bool m_dnsEntryHasBeenSet = false;
149
150 Aws::String m_id;
151 bool m_idHasBeenSet = false;
152
153 Aws::Utils::DateTime m_lastUpdatedAt{};
154 bool m_lastUpdatedAtHasBeenSet = false;
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
160 bool m_statusHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace VPCLattice
165} // namespace Aws
Definition DnsEntry.h:32
ServiceSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetName() const
ServiceSummary & WithCreatedAt(CreatedAtT &&value)
ServiceSummary & WithCustomDomainName(CustomDomainNameT &&value)
ServiceSummary & WithId(IdT &&value)
void SetCustomDomainName(CustomDomainNameT &&value)
AWS_VPCLATTICE_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetCreatedAt() const
ServiceSummary & WithName(NameT &&value)
const Aws::String & GetArn() const
ServiceSummary & WithDnsEntry(DnsEntryT &&value)
AWS_VPCLATTICE_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomDomainName() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(ServiceStatus value)
ServiceSummary & WithStatus(ServiceStatus value)
const DnsEntry & GetDnsEntry() const
AWS_VPCLATTICE_API ServiceSummary()=default
ServiceSummary & WithArn(ArnT &&value)
void SetCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue