AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AccessorSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
10#include <aws/managedblockchain/model/AccessorNetworkType.h>
11#include <aws/managedblockchain/model/AccessorStatus.h>
12#include <aws/managedblockchain/model/AccessorType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ManagedBlockchain {
24namespace Model {
25
32 public:
33 AWS_MANAGEDBLOCKCHAIN_API AccessorSummary() = default;
34 AWS_MANAGEDBLOCKCHAIN_API AccessorSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MANAGEDBLOCKCHAIN_API AccessorSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
50 AccessorSummary& WithId(IdT&& value) {
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
61 inline AccessorType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(AccessorType value) {
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
77 inline AccessorStatus GetStatus() const { return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(AccessorStatus value) {
80 m_statusHasBeenSet = true;
81 m_status = value;
82 }
84 SetStatus(value);
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
94 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
95 template <typename CreationDateT = Aws::Utils::DateTime>
96 void SetCreationDate(CreationDateT&& value) {
97 m_creationDateHasBeenSet = true;
98 m_creationDate = std::forward<CreationDateT>(value);
99 }
100 template <typename CreationDateT = Aws::Utils::DateTime>
101 AccessorSummary& WithCreationDate(CreationDateT&& value) {
102 SetCreationDate(std::forward<CreationDateT>(value));
103 return *this;
104 }
106
108
115 inline const Aws::String& GetArn() const { return m_arn; }
116 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
117 template <typename ArnT = Aws::String>
118 void SetArn(ArnT&& value) {
119 m_arnHasBeenSet = true;
120 m_arn = std::forward<ArnT>(value);
121 }
122 template <typename ArnT = Aws::String>
123 AccessorSummary& WithArn(ArnT&& value) {
124 SetArn(std::forward<ArnT>(value));
125 return *this;
126 }
128
130
133 inline AccessorNetworkType GetNetworkType() const { return m_networkType; }
134 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
136 m_networkTypeHasBeenSet = true;
137 m_networkType = value;
138 }
140 SetNetworkType(value);
141 return *this;
142 }
144 private:
145 Aws::String m_id;
146
148
150
151 Aws::Utils::DateTime m_creationDate{};
152
153 Aws::String m_arn;
154
156 bool m_idHasBeenSet = false;
157 bool m_typeHasBeenSet = false;
158 bool m_statusHasBeenSet = false;
159 bool m_creationDateHasBeenSet = false;
160 bool m_arnHasBeenSet = false;
161 bool m_networkTypeHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace ManagedBlockchain
166} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API AccessorSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API AccessorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessorSummary & WithCreationDate(CreationDateT &&value)
AWS_MANAGEDBLOCKCHAIN_API AccessorSummary()=default
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNetworkType(AccessorNetworkType value)
AccessorSummary & WithType(AccessorType value)
AccessorSummary & WithStatus(AccessorStatus value)
const Aws::Utils::DateTime & GetCreationDate() const
AccessorSummary & WithNetworkType(AccessorNetworkType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue