AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkSummary.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/model/Framework.h>
10#include <aws/managedblockchain/model/NetworkStatus.h>
11#include <aws/core/utils/DateTime.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 ManagedBlockchain
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MANAGEDBLOCKCHAIN_API NetworkSummary();
38 AWS_MANAGEDBLOCKCHAIN_API NetworkSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDBLOCKCHAIN_API NetworkSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline NetworkSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline NetworkSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline NetworkSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline NetworkSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline NetworkSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline NetworkSummary& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline NetworkSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline NetworkSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline NetworkSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
89 inline const Framework& GetFramework() const{ return m_framework; }
90 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
91 inline void SetFramework(const Framework& value) { m_frameworkHasBeenSet = true; m_framework = value; }
92 inline void SetFramework(Framework&& value) { m_frameworkHasBeenSet = true; m_framework = std::move(value); }
93 inline NetworkSummary& WithFramework(const Framework& value) { SetFramework(value); return *this;}
94 inline NetworkSummary& WithFramework(Framework&& value) { SetFramework(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetFrameworkVersion() const{ return m_frameworkVersion; }
102 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
103 inline void SetFrameworkVersion(const Aws::String& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = value; }
104 inline void SetFrameworkVersion(Aws::String&& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = std::move(value); }
105 inline void SetFrameworkVersion(const char* value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion.assign(value); }
106 inline NetworkSummary& WithFrameworkVersion(const Aws::String& value) { SetFrameworkVersion(value); return *this;}
107 inline NetworkSummary& WithFrameworkVersion(Aws::String&& value) { SetFrameworkVersion(std::move(value)); return *this;}
108 inline NetworkSummary& WithFrameworkVersion(const char* value) { SetFrameworkVersion(value); return *this;}
110
112
115 inline const NetworkStatus& GetStatus() const{ return m_status; }
116 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
117 inline void SetStatus(const NetworkStatus& value) { m_statusHasBeenSet = true; m_status = value; }
118 inline void SetStatus(NetworkStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
119 inline NetworkSummary& WithStatus(const NetworkStatus& value) { SetStatus(value); return *this;}
120 inline NetworkSummary& WithStatus(NetworkStatus&& value) { SetStatus(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
128 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
129 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
130 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
131 inline NetworkSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
132 inline NetworkSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
134
136
143 inline const Aws::String& GetArn() const{ return m_arn; }
144 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
145 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
146 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
147 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
148 inline NetworkSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
149 inline NetworkSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
150 inline NetworkSummary& WithArn(const char* value) { SetArn(value); return *this;}
152 private:
153
154 Aws::String m_id;
155 bool m_idHasBeenSet = false;
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
163 Framework m_framework;
164 bool m_frameworkHasBeenSet = false;
165
166 Aws::String m_frameworkVersion;
167 bool m_frameworkVersionHasBeenSet = false;
168
169 NetworkStatus m_status;
170 bool m_statusHasBeenSet = false;
171
172 Aws::Utils::DateTime m_creationDate;
173 bool m_creationDateHasBeenSet = false;
174
175 Aws::String m_arn;
176 bool m_arnHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace ManagedBlockchain
181} // namespace Aws
NetworkSummary & WithArn(const Aws::String &value)
NetworkSummary & WithStatus(const NetworkStatus &value)
NetworkSummary & WithId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_MANAGEDBLOCKCHAIN_API NetworkSummary(Aws::Utils::Json::JsonView jsonValue)
NetworkSummary & WithDescription(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API NetworkSummary()
void SetFrameworkVersion(const Aws::String &value)
NetworkSummary & WithDescription(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
NetworkSummary & WithArn(Aws::String &&value)
NetworkSummary & WithCreationDate(Aws::Utils::DateTime &&value)
NetworkSummary & WithFrameworkVersion(Aws::String &&value)
NetworkSummary & WithId(const char *value)
NetworkSummary & WithArn(const char *value)
void SetName(const Aws::String &value)
void SetFramework(const Framework &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
NetworkSummary & WithStatus(NetworkStatus &&value)
NetworkSummary & WithFrameworkVersion(const Aws::String &value)
NetworkSummary & WithName(Aws::String &&value)
NetworkSummary & WithFramework(const Framework &value)
NetworkSummary & WithId(const Aws::String &value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkSummary & WithDescription(Aws::String &&value)
NetworkSummary & WithName(const char *value)
NetworkSummary & WithName(const Aws::String &value)
NetworkSummary & WithCreationDate(const Aws::Utils::DateTime &value)
void SetStatus(const NetworkStatus &value)
AWS_MANAGEDBLOCKCHAIN_API NetworkSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkSummary & WithFramework(Framework &&value)
const Aws::String & GetFrameworkVersion() const
NetworkSummary & WithFrameworkVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue