AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AccessorSummary.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/AccessorType.h>
10#include <aws/managedblockchain/model/AccessorStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/managedblockchain/model/AccessorNetworkType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ManagedBlockchain
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MANAGEDBLOCKCHAIN_API AccessorSummary() = default;
39 AWS_MANAGEDBLOCKCHAIN_API AccessorSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAIN_API AccessorSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 AccessorSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
61 inline AccessorType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(AccessorType value) { m_typeHasBeenSet = true; m_type = value; }
64 inline AccessorSummary& WithType(AccessorType value) { SetType(value); return *this;}
66
68
71 inline AccessorStatus GetStatus() const { return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(AccessorStatus value) { m_statusHasBeenSet = true; m_status = value; }
74 inline AccessorSummary& WithStatus(AccessorStatus value) { SetStatus(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
82 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
83 template<typename CreationDateT = Aws::Utils::DateTime>
84 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
85 template<typename CreationDateT = Aws::Utils::DateTime>
86 AccessorSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
88
90
97 inline const Aws::String& GetArn() const { return m_arn; }
98 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
99 template<typename ArnT = Aws::String>
100 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
101 template<typename ArnT = Aws::String>
102 AccessorSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
104
106
109 inline AccessorNetworkType GetNetworkType() const { return m_networkType; }
110 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
111 inline void SetNetworkType(AccessorNetworkType value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
114 private:
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
120 bool m_typeHasBeenSet = false;
121
123 bool m_statusHasBeenSet = false;
124
125 Aws::Utils::DateTime m_creationDate{};
126 bool m_creationDateHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
132 bool m_networkTypeHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace ManagedBlockchain
137} // 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