AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline ServiceNetworkSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline ServiceNetworkSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline ServiceNetworkSummary& WithArn(const char* value) { SetArn(value); return *this;}
54
56
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline ServiceNetworkSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline ServiceNetworkSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetId() const{ return m_id; }
73 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
74 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
75 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
76 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
77 inline ServiceNetworkSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
78 inline ServiceNetworkSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
79 inline ServiceNetworkSummary& WithId(const char* value) { SetId(value); return *this;}
81
83
87 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
88 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
89 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
90 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
92 inline ServiceNetworkSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetName() const{ return m_name; }
100 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
102 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
104 inline ServiceNetworkSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
105 inline ServiceNetworkSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
106 inline ServiceNetworkSummary& WithName(const char* value) { SetName(value); return *this;}
108
110
113 inline long long GetNumberOfAssociatedServices() const{ return m_numberOfAssociatedServices; }
114 inline bool NumberOfAssociatedServicesHasBeenSet() const { return m_numberOfAssociatedServicesHasBeenSet; }
115 inline void SetNumberOfAssociatedServices(long long value) { m_numberOfAssociatedServicesHasBeenSet = true; m_numberOfAssociatedServices = value; }
118
120
123 inline long long GetNumberOfAssociatedVPCs() const{ return m_numberOfAssociatedVPCs; }
124 inline bool NumberOfAssociatedVPCsHasBeenSet() const { return m_numberOfAssociatedVPCsHasBeenSet; }
125 inline void SetNumberOfAssociatedVPCs(long long value) { m_numberOfAssociatedVPCsHasBeenSet = true; m_numberOfAssociatedVPCs = value; }
126 inline ServiceNetworkSummary& WithNumberOfAssociatedVPCs(long long value) { SetNumberOfAssociatedVPCs(value); return *this;}
128 private:
129
130 Aws::String m_arn;
131 bool m_arnHasBeenSet = false;
132
133 Aws::Utils::DateTime m_createdAt;
134 bool m_createdAtHasBeenSet = false;
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
139 Aws::Utils::DateTime m_lastUpdatedAt;
140 bool m_lastUpdatedAtHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 long long m_numberOfAssociatedServices;
146 bool m_numberOfAssociatedServicesHasBeenSet = false;
147
148 long long m_numberOfAssociatedVPCs;
149 bool m_numberOfAssociatedVPCsHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace VPCLattice
154} // namespace Aws
ServiceNetworkSummary & WithNumberOfAssociatedVPCs(long long value)
ServiceNetworkSummary & WithArn(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ServiceNetworkSummary & WithId(Aws::String &&value)
ServiceNetworkSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ServiceNetworkSummary & WithName(const Aws::String &value)
ServiceNetworkSummary & WithArn(const Aws::String &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
ServiceNetworkSummary & WithArn(Aws::String &&value)
AWS_VPCLATTICE_API ServiceNetworkSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkSummary & WithNumberOfAssociatedServices(long long value)
ServiceNetworkSummary & WithName(const char *value)
ServiceNetworkSummary & WithName(Aws::String &&value)
ServiceNetworkSummary & WithId(const Aws::String &value)
ServiceNetworkSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceNetworkSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
ServiceNetworkSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
ServiceNetworkSummary & WithId(const char *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