AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QuickConnectSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/QuickConnectType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONNECT_API QuickConnectSummary() = default;
40 AWS_CONNECT_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 QuickConnectSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 QuickConnectSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 QuickConnectSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
85 inline QuickConnectType GetQuickConnectType() const { return m_quickConnectType; }
86 inline bool QuickConnectTypeHasBeenSet() const { return m_quickConnectTypeHasBeenSet; }
87 inline void SetQuickConnectType(QuickConnectType value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = value; }
90
92
95 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
96 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
97 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
98 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
99 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
100 QuickConnectSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
102
104
107 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
108 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
109 template<typename LastModifiedRegionT = Aws::String>
110 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
111 template<typename LastModifiedRegionT = Aws::String>
112 QuickConnectSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
114 private:
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
119 Aws::String m_arn;
120 bool m_arnHasBeenSet = false;
121
122 Aws::String m_name;
123 bool m_nameHasBeenSet = false;
124
126 bool m_quickConnectTypeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_lastModifiedTime{};
129 bool m_lastModifiedTimeHasBeenSet = false;
130
131 Aws::String m_lastModifiedRegion;
132 bool m_lastModifiedRegionHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Connect
137} // 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