AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline ServiceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ServiceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ServiceSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
62 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
63 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
64 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
65 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
66 inline ServiceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
67 inline ServiceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetCustomDomainName() const{ return m_customDomainName; }
75 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
76 inline void SetCustomDomainName(const Aws::String& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = value; }
77 inline void SetCustomDomainName(Aws::String&& value) { m_customDomainNameHasBeenSet = true; m_customDomainName = std::move(value); }
78 inline void SetCustomDomainName(const char* value) { m_customDomainNameHasBeenSet = true; m_customDomainName.assign(value); }
79 inline ServiceSummary& WithCustomDomainName(const Aws::String& value) { SetCustomDomainName(value); return *this;}
80 inline ServiceSummary& WithCustomDomainName(Aws::String&& value) { SetCustomDomainName(std::move(value)); return *this;}
81 inline ServiceSummary& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;}
83
85
88 inline const DnsEntry& GetDnsEntry() const{ return m_dnsEntry; }
89 inline bool DnsEntryHasBeenSet() const { return m_dnsEntryHasBeenSet; }
90 inline void SetDnsEntry(const DnsEntry& value) { m_dnsEntryHasBeenSet = true; m_dnsEntry = value; }
91 inline void SetDnsEntry(DnsEntry&& value) { m_dnsEntryHasBeenSet = true; m_dnsEntry = std::move(value); }
92 inline ServiceSummary& WithDnsEntry(const DnsEntry& value) { SetDnsEntry(value); return *this;}
93 inline ServiceSummary& WithDnsEntry(DnsEntry&& value) { SetDnsEntry(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetId() const{ return m_id; }
101 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
102 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
103 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
104 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
105 inline ServiceSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
106 inline ServiceSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
107 inline ServiceSummary& WithId(const char* value) { SetId(value); return *this;}
109
111
115 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
116 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
117 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
118 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
119 inline ServiceSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
120 inline ServiceSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
122
124
127 inline const Aws::String& GetName() const{ return m_name; }
128 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
129 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
130 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
131 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
132 inline ServiceSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
133 inline ServiceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
134 inline ServiceSummary& WithName(const char* value) { SetName(value); return *this;}
136
138
141 inline const ServiceStatus& GetStatus() const{ return m_status; }
142 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
143 inline void SetStatus(const ServiceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
144 inline void SetStatus(ServiceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
145 inline ServiceSummary& WithStatus(const ServiceStatus& value) { SetStatus(value); return *this;}
146 inline ServiceSummary& WithStatus(ServiceStatus&& value) { SetStatus(std::move(value)); return *this;}
148 private:
149
150 Aws::String m_arn;
151 bool m_arnHasBeenSet = false;
152
153 Aws::Utils::DateTime m_createdAt;
154 bool m_createdAtHasBeenSet = false;
155
156 Aws::String m_customDomainName;
157 bool m_customDomainNameHasBeenSet = false;
158
159 DnsEntry m_dnsEntry;
160 bool m_dnsEntryHasBeenSet = false;
161
162 Aws::String m_id;
163 bool m_idHasBeenSet = false;
164
165 Aws::Utils::DateTime m_lastUpdatedAt;
166 bool m_lastUpdatedAtHasBeenSet = false;
167
168 Aws::String m_name;
169 bool m_nameHasBeenSet = false;
170
171 ServiceStatus m_status;
172 bool m_statusHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace VPCLattice
177} // namespace Aws
Definition DnsEntry.h:32
ServiceSummary & WithArn(const char *value)
void SetArn(const Aws::String &value)
void SetDnsEntry(const DnsEntry &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetName() const
ServiceSummary & WithArn(Aws::String &&value)
ServiceSummary & WithName(Aws::String &&value)
ServiceSummary & WithDnsEntry(const DnsEntry &value)
ServiceSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
ServiceSummary & WithId(const Aws::String &value)
void SetCustomDomainName(Aws::String &&value)
ServiceSummary & WithId(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
ServiceSummary & WithCustomDomainName(const char *value)
ServiceSummary & WithId(const char *value)
void SetStatus(ServiceStatus &&value)
AWS_VPCLATTICE_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
ServiceSummary & WithName(const Aws::String &value)
ServiceSummary & WithStatus(ServiceStatus &&value)
ServiceSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetArn() const
const ServiceStatus & GetStatus() const
ServiceSummary & WithName(const char *value)
AWS_VPCLATTICE_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomDomainName(const char *value)
ServiceSummary & WithCustomDomainName(const Aws::String &value)
ServiceSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
ServiceSummary & WithStatus(const ServiceStatus &value)
const Aws::String & GetCustomDomainName() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceSummary & WithArn(const Aws::String &value)
ServiceSummary & WithCustomDomainName(Aws::String &&value)
void SetCustomDomainName(const Aws::String &value)
const DnsEntry & GetDnsEntry() const
void SetStatus(const ServiceStatus &value)
ServiceSummary & WithDnsEntry(DnsEntry &&value)
ServiceSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue