AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
QuickConnectSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/QuickConnectType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
31 public:
32 AWS_CONNECT_API QuickConnectSummary() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
85 QuickConnectSummary& WithName(NameT&& value) {
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
97 inline QuickConnectType GetQuickConnectType() const { return m_quickConnectType; }
98 inline bool QuickConnectTypeHasBeenSet() const { return m_quickConnectTypeHasBeenSet; }
100 m_quickConnectTypeHasBeenSet = true;
101 m_quickConnectType = value;
102 }
104 SetQuickConnectType(value);
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
114 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
115 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
116 void SetLastModifiedTime(LastModifiedTimeT&& value) {
117 m_lastModifiedTimeHasBeenSet = true;
118 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
119 }
120 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
121 QuickConnectSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
122 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
132 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
133 template <typename LastModifiedRegionT = Aws::String>
134 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
135 m_lastModifiedRegionHasBeenSet = true;
136 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
137 }
138 template <typename LastModifiedRegionT = Aws::String>
139 QuickConnectSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) {
140 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_id;
146
147 Aws::String m_arn;
148
149 Aws::String m_name;
150
152
153 Aws::Utils::DateTime m_lastModifiedTime{};
154
155 Aws::String m_lastModifiedRegion;
156 bool m_idHasBeenSet = false;
157 bool m_arnHasBeenSet = false;
158 bool m_nameHasBeenSet = false;
159 bool m_quickConnectTypeHasBeenSet = false;
160 bool m_lastModifiedTimeHasBeenSet = false;
161 bool m_lastModifiedRegionHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace Connect
166} // namespace Aws
QuickConnectSummary & WithQuickConnectType(QuickConnectType value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
QuickConnectSummary & WithLastModifiedRegion(LastModifiedRegionT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CONNECT_API QuickConnectSummary()=default
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_CONNECT_API QuickConnectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API QuickConnectSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLastModifiedRegion() const
QuickConnectSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
QuickConnectSummary & WithName(NameT &&value)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
QuickConnectSummary & WithArn(ArnT &&value)
QuickConnectSummary & WithId(IdT &&value)
void SetQuickConnectType(QuickConnectType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue