AWS SDK for C++  1.9.157
AWS SDK for C++
QuickConnectSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetId() const{ return m_id; }
46 
50  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 
55  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 
60  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 
65  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 
70  inline QuickConnectSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
71 
75  inline QuickConnectSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
80  inline QuickConnectSummary& WithId(const char* value) { SetId(value); return *this;}
81 
82 
86  inline const Aws::String& GetArn() const{ return m_arn; }
87 
91  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
92 
96  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
97 
101  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
102 
106  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
107 
111  inline QuickConnectSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
112 
116  inline QuickConnectSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
117 
121  inline QuickConnectSummary& WithArn(const char* value) { SetArn(value); return *this;}
122 
123 
127  inline const Aws::String& GetName() const{ return m_name; }
128 
132  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
133 
137  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
138 
142  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
143 
147  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
148 
152  inline QuickConnectSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
153 
157  inline QuickConnectSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
158 
162  inline QuickConnectSummary& WithName(const char* value) { SetName(value); return *this;}
163 
164 
170  inline const QuickConnectType& GetQuickConnectType() const{ return m_quickConnectType; }
171 
177  inline bool QuickConnectTypeHasBeenSet() const { return m_quickConnectTypeHasBeenSet; }
178 
184  inline void SetQuickConnectType(const QuickConnectType& value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = value; }
185 
191  inline void SetQuickConnectType(QuickConnectType&& value) { m_quickConnectTypeHasBeenSet = true; m_quickConnectType = std::move(value); }
192 
198  inline QuickConnectSummary& WithQuickConnectType(const QuickConnectType& value) { SetQuickConnectType(value); return *this;}
199 
205  inline QuickConnectSummary& WithQuickConnectType(QuickConnectType&& value) { SetQuickConnectType(std::move(value)); return *this;}
206 
207  private:
208 
209  Aws::String m_id;
210  bool m_idHasBeenSet;
211 
212  Aws::String m_arn;
213  bool m_arnHasBeenSet;
214 
215  Aws::String m_name;
216  bool m_nameHasBeenSet;
217 
218  QuickConnectType m_quickConnectType;
219  bool m_quickConnectTypeHasBeenSet;
220  };
221 
222 } // namespace Model
223 } // namespace Connect
224 } // namespace Aws
Aws::Connect::Model::QuickConnectSummary::WithId
QuickConnectSummary & WithId(Aws::String &&value)
Definition: QuickConnectSummary.h:75
Aws::Connect::Model::QuickConnectSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: QuickConnectSummary.h:50
Aws::Connect::Model::QuickConnectSummary::SetName
void SetName(const char *value)
Definition: QuickConnectSummary.h:147
Aws::Connect::Model::QuickConnectSummary::SetArn
void SetArn(const Aws::String &value)
Definition: QuickConnectSummary.h:96
Aws::Connect::Model::QuickConnectSummary::WithArn
QuickConnectSummary & WithArn(const Aws::String &value)
Definition: QuickConnectSummary.h:111
Aws::Connect::Model::QuickConnectSummary::WithName
QuickConnectSummary & WithName(const char *value)
Definition: QuickConnectSummary.h:162
Aws::Connect::Model::QuickConnectSummary::WithArn
QuickConnectSummary & WithArn(Aws::String &&value)
Definition: QuickConnectSummary.h:116
Aws::Connect::Model::QuickConnectSummary::WithId
QuickConnectSummary & WithId(const Aws::String &value)
Definition: QuickConnectSummary.h:70
Aws::Connect::Model::QuickConnectSummary::SetQuickConnectType
void SetQuickConnectType(QuickConnectType &&value)
Definition: QuickConnectSummary.h:191
Aws::Connect::Model::QuickConnectSummary::WithQuickConnectType
QuickConnectSummary & WithQuickConnectType(const QuickConnectType &value)
Definition: QuickConnectSummary.h:198
Aws::Connect::Model::QuickConnectSummary::SetQuickConnectType
void SetQuickConnectType(const QuickConnectType &value)
Definition: QuickConnectSummary.h:184
Aws::Connect::Model::QuickConnectSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::QuickConnectSummary::SetArn
void SetArn(Aws::String &&value)
Definition: QuickConnectSummary.h:101
Aws::Connect::Model::QuickConnectType
QuickConnectType
Definition: QuickConnectType.h:17
Aws::Connect::Model::QuickConnectSummary::operator=
QuickConnectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::QuickConnectSummary::WithId
QuickConnectSummary & WithId(const char *value)
Definition: QuickConnectSummary.h:80
Aws::Connect::Model::QuickConnectSummary::SetId
void SetId(Aws::String &&value)
Definition: QuickConnectSummary.h:60
QuickConnectType.h
Aws::Connect::Model::QuickConnectSummary::QuickConnectSummary
QuickConnectSummary()
Aws::Connect::Model::QuickConnectSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: QuickConnectSummary.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Connect::Model::QuickConnectSummary::QuickConnectTypeHasBeenSet
bool QuickConnectTypeHasBeenSet() const
Definition: QuickConnectSummary.h:177
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::QuickConnectSummary::WithQuickConnectType
QuickConnectSummary & WithQuickConnectType(QuickConnectType &&value)
Definition: QuickConnectSummary.h:205
Aws::Connect::Model::QuickConnectSummary::SetId
void SetId(const Aws::String &value)
Definition: QuickConnectSummary.h:55
Aws::Connect::Model::QuickConnectSummary::SetName
void SetName(const Aws::String &value)
Definition: QuickConnectSummary.h:137
Aws::Connect::Model::QuickConnectSummary::SetId
void SetId(const char *value)
Definition: QuickConnectSummary.h:65
Aws::Connect::Model::QuickConnectSummary::GetArn
const Aws::String & GetArn() const
Definition: QuickConnectSummary.h:86
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::QuickConnectSummary::WithName
QuickConnectSummary & WithName(Aws::String &&value)
Definition: QuickConnectSummary.h:157
Aws::Connect::Model::QuickConnectSummary::GetName
const Aws::String & GetName() const
Definition: QuickConnectSummary.h:127
Aws::Connect::Model::QuickConnectSummary
Definition: QuickConnectSummary.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::QuickConnectSummary::WithName
QuickConnectSummary & WithName(const Aws::String &value)
Definition: QuickConnectSummary.h:152
Aws::Connect::Model::QuickConnectSummary::GetId
const Aws::String & GetId() const
Definition: QuickConnectSummary.h:45
Aws::Connect::Model::QuickConnectSummary::GetQuickConnectType
const QuickConnectType & GetQuickConnectType() const
Definition: QuickConnectSummary.h:170
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::QuickConnectSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: QuickConnectSummary.h:132
Connect_EXPORTS.h
Aws::Connect::Model::QuickConnectSummary::QuickConnectSummary
QuickConnectSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::QuickConnectSummary::SetName
void SetName(Aws::String &&value)
Definition: QuickConnectSummary.h:142
Aws::Connect::Model::QuickConnectSummary::WithArn
QuickConnectSummary & WithArn(const char *value)
Definition: QuickConnectSummary.h:121
Aws::Connect::Model::QuickConnectSummary::SetArn
void SetArn(const char *value)
Definition: QuickConnectSummary.h:106