AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline QuickConnectSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline QuickConnectSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline QuickConnectSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline QuickConnectSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline QuickConnectSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline QuickConnectSummary& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline QuickConnectSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline QuickConnectSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline QuickConnectSummary& WithName(const char* value) { SetName(value); return *this;}
84
86
91 inline const QuickConnectType& GetQuickConnectType() const{ return m_quickConnectType; }
92 inline bool QuickConnectTypeHasBeenSet() const { return m_quickConnectTypeHasBeenSet; }
93 inline void SetQuickConnectType(const QuickConnectType& value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = value; }
94 inline void SetQuickConnectType(QuickConnectType&& value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = std::move(value); }
96 inline QuickConnectSummary& WithQuickConnectType(QuickConnectType&& value) { SetQuickConnectType(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
104 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
105 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
106 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
108 inline QuickConnectSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
116 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
117 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
118 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
119 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
121 inline QuickConnectSummary& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
122 inline QuickConnectSummary& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
124 private:
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 Aws::String m_arn;
130 bool m_arnHasBeenSet = false;
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
135 QuickConnectType m_quickConnectType;
136 bool m_quickConnectTypeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_lastModifiedTime;
139 bool m_lastModifiedTimeHasBeenSet = false;
140
141 Aws::String m_lastModifiedRegion;
142 bool m_lastModifiedRegionHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Connect
147} // namespace Aws
QuickConnectSummary & WithName(const char *value)
void SetQuickConnectType(const QuickConnectType &value)
QuickConnectSummary & WithQuickConnectType(QuickConnectType &&value)
QuickConnectSummary & WithName(Aws::String &&value)
QuickConnectSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
QuickConnectSummary & WithId(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
QuickConnectSummary & WithLastModifiedRegion(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
QuickConnectSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
QuickConnectSummary & WithId(Aws::String &&value)
void SetLastModifiedRegion(const Aws::String &value)
QuickConnectSummary & WithLastModifiedRegion(const Aws::String &value)
AWS_CONNECT_API QuickConnectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
AWS_CONNECT_API QuickConnectSummary(Aws::Utils::Json::JsonView jsonValue)
QuickConnectSummary & WithName(const Aws::String &value)
QuickConnectSummary & WithArn(Aws::String &&value)
QuickConnectSummary & WithArn(const char *value)
void SetName(const Aws::String &value)
QuickConnectSummary & WithQuickConnectType(const QuickConnectType &value)
QuickConnectSummary & WithId(const Aws::String &value)
const Aws::String & GetLastModifiedRegion() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
QuickConnectSummary & WithArn(const Aws::String &value)
void SetQuickConnectType(QuickConnectType &&value)
const QuickConnectType & GetQuickConnectType() const
QuickConnectSummary & WithLastModifiedRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue