AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline AccessorSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline AccessorSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline AccessorSummary& WithId(const char* value) { SetId(value); return *this;}
57
59
63 inline const AccessorType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const AccessorType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(AccessorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline AccessorSummary& WithType(const AccessorType& value) { SetType(value); return *this;}
68 inline AccessorSummary& WithType(AccessorType&& value) { SetType(std::move(value)); return *this;}
70
72
75 inline const AccessorStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const AccessorStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(AccessorStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline AccessorSummary& WithStatus(const AccessorStatus& value) { SetStatus(value); return *this;}
80 inline AccessorSummary& WithStatus(AccessorStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
88 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
89 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
90 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
91 inline AccessorSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
92 inline AccessorSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
94
96
103 inline const Aws::String& GetArn() const{ return m_arn; }
104 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
105 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
106 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
107 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
108 inline AccessorSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
109 inline AccessorSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
110 inline AccessorSummary& WithArn(const char* value) { SetArn(value); return *this;}
112
114
117 inline const AccessorNetworkType& GetNetworkType() const{ return m_networkType; }
118 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
119 inline void SetNetworkType(const AccessorNetworkType& value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
120 inline void SetNetworkType(AccessorNetworkType&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); }
121 inline AccessorSummary& WithNetworkType(const AccessorNetworkType& value) { SetNetworkType(value); return *this;}
122 inline AccessorSummary& WithNetworkType(AccessorNetworkType&& value) { SetNetworkType(std::move(value)); return *this;}
124 private:
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 AccessorType m_type;
130 bool m_typeHasBeenSet = false;
131
132 AccessorStatus m_status;
133 bool m_statusHasBeenSet = false;
134
135 Aws::Utils::DateTime m_creationDate;
136 bool m_creationDateHasBeenSet = false;
137
138 Aws::String m_arn;
139 bool m_arnHasBeenSet = false;
140
141 AccessorNetworkType m_networkType;
142 bool m_networkTypeHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace ManagedBlockchain
147} // namespace Aws
AccessorSummary & WithId(Aws::String &&value)
void SetType(const AccessorType &value)
AWS_MANAGEDBLOCKCHAIN_API AccessorSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API AccessorSummary()
AWS_MANAGEDBLOCKCHAIN_API AccessorSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessorSummary & WithId(const Aws::String &value)
AccessorSummary & WithStatus(AccessorStatus &&value)
void SetStatus(const AccessorStatus &value)
AccessorSummary & WithArn(const Aws::String &value)
AccessorSummary & WithNetworkType(AccessorNetworkType &&value)
AccessorSummary & WithStatus(const AccessorStatus &value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetNetworkType(AccessorNetworkType &&value)
AccessorSummary & WithId(const char *value)
AccessorSummary & WithCreationDate(const Aws::Utils::DateTime &value)
void SetNetworkType(const AccessorNetworkType &value)
AccessorSummary & WithType(AccessorType &&value)
AccessorSummary & WithType(const AccessorType &value)
const AccessorNetworkType & GetNetworkType() const
AccessorSummary & WithNetworkType(const AccessorNetworkType &value)
const Aws::Utils::DateTime & GetCreationDate() const
AccessorSummary & WithArn(const char *value)
AccessorSummary & WithArn(Aws::String &&value)
AccessorSummary & WithCreationDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue