AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 NetworkSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 NetworkSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 NetworkSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
83 inline Framework GetFramework() const { return m_framework; }
84 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
85 inline void SetFramework(Framework value) { m_frameworkHasBeenSet = true; m_framework = value; }
86 inline NetworkSummary& WithFramework(Framework value) { SetFramework(value); return *this;}
88
90
93 inline const Aws::String& GetFrameworkVersion() const { return m_frameworkVersion; }
94 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
95 template<typename FrameworkVersionT = Aws::String>
96 void SetFrameworkVersion(FrameworkVersionT&& value) { m_frameworkVersionHasBeenSet = true; m_frameworkVersion = std::forward<FrameworkVersionT>(value); }
97 template<typename FrameworkVersionT = Aws::String>
98 NetworkSummary& WithFrameworkVersion(FrameworkVersionT&& value) { SetFrameworkVersion(std::forward<FrameworkVersionT>(value)); return *this;}
100
102
105 inline NetworkStatus GetStatus() const { return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(NetworkStatus value) { m_statusHasBeenSet = true; m_status = value; }
108 inline NetworkSummary& WithStatus(NetworkStatus value) { SetStatus(value); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
116 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
117 template<typename CreationDateT = Aws::Utils::DateTime>
118 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
119 template<typename CreationDateT = Aws::Utils::DateTime>
120 NetworkSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
122
124
131 inline const Aws::String& GetArn() const { return m_arn; }
132 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
133 template<typename ArnT = Aws::String>
134 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
135 template<typename ArnT = Aws::String>
136 NetworkSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
138 private:
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 Framework m_framework{Framework::NOT_SET};
150 bool m_frameworkHasBeenSet = false;
151
152 Aws::String m_frameworkVersion;
153 bool m_frameworkVersionHasBeenSet = false;
154
156 bool m_statusHasBeenSet = false;
157
158 Aws::Utils::DateTime m_creationDate{};
159 bool m_creationDateHasBeenSet = false;
160
161 Aws::String m_arn;
162 bool m_arnHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace ManagedBlockchain
167} // namespace Aws
NetworkSummary & WithDescription(DescriptionT &&value)
AWS_MANAGEDBLOCKCHAIN_API NetworkSummary()=default
const Aws::Utils::DateTime & GetCreationDate() const
AWS_MANAGEDBLOCKCHAIN_API NetworkSummary(Aws::Utils::Json::JsonView jsonValue)
NetworkSummary & WithFramework(Framework value)
NetworkSummary & WithName(NameT &&value)
NetworkSummary & WithFrameworkVersion(FrameworkVersionT &&value)
NetworkSummary & WithStatus(NetworkStatus value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFrameworkVersion(FrameworkVersionT &&value)
NetworkSummary & WithCreationDate(CreationDateT &&value)
AWS_MANAGEDBLOCKCHAIN_API NetworkSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFrameworkVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue