AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateQuickConnectConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Connect
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateQuickConnectConfig"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
41 
46  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 
52  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
53 
58  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
59 
64  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
65 
70  inline UpdateQuickConnectConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
71 
76  inline UpdateQuickConnectConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
77 
82  inline UpdateQuickConnectConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
83 
84 
88  inline const Aws::String& GetQuickConnectId() const{ return m_quickConnectId; }
89 
93  inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; }
94 
98  inline void SetQuickConnectId(const Aws::String& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = value; }
99 
103  inline void SetQuickConnectId(Aws::String&& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::move(value); }
104 
108  inline void SetQuickConnectId(const char* value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId.assign(value); }
109 
113  inline UpdateQuickConnectConfigRequest& WithQuickConnectId(const Aws::String& value) { SetQuickConnectId(value); return *this;}
114 
118  inline UpdateQuickConnectConfigRequest& WithQuickConnectId(Aws::String&& value) { SetQuickConnectId(std::move(value)); return *this;}
119 
123  inline UpdateQuickConnectConfigRequest& WithQuickConnectId(const char* value) { SetQuickConnectId(value); return *this;}
124 
125 
129  inline const QuickConnectConfig& GetQuickConnectConfig() const{ return m_quickConnectConfig; }
130 
134  inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; }
135 
139  inline void SetQuickConnectConfig(const QuickConnectConfig& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = value; }
140 
144  inline void SetQuickConnectConfig(QuickConnectConfig&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::move(value); }
145 
149  inline UpdateQuickConnectConfigRequest& WithQuickConnectConfig(const QuickConnectConfig& value) { SetQuickConnectConfig(value); return *this;}
150 
154  inline UpdateQuickConnectConfigRequest& WithQuickConnectConfig(QuickConnectConfig&& value) { SetQuickConnectConfig(std::move(value)); return *this;}
155 
156  private:
157 
158  Aws::String m_instanceId;
159  bool m_instanceIdHasBeenSet;
160 
161  Aws::String m_quickConnectId;
162  bool m_quickConnectIdHasBeenSet;
163 
164  QuickConnectConfig m_quickConnectConfig;
165  bool m_quickConnectConfigHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace Connect
170 } // namespace Aws
Aws::Connect::Model::UpdateQuickConnectConfigRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateQuickConnectConfigRequest.h:46
Aws::Connect::Model::UpdateQuickConnectConfigRequest::QuickConnectConfigHasBeenSet
bool QuickConnectConfigHasBeenSet() const
Definition: UpdateQuickConnectConfigRequest.h:134
Aws::Connect::Model::UpdateQuickConnectConfigRequest::SetQuickConnectConfig
void SetQuickConnectConfig(const QuickConnectConfig &value)
Definition: UpdateQuickConnectConfigRequest.h:139
Aws::Connect::Model::UpdateQuickConnectConfigRequest::WithQuickConnectConfig
UpdateQuickConnectConfigRequest & WithQuickConnectConfig(const QuickConnectConfig &value)
Definition: UpdateQuickConnectConfigRequest.h:149
Aws::Connect::Model::UpdateQuickConnectConfigRequest
Definition: UpdateQuickConnectConfigRequest.h:23
Aws::Connect::Model::UpdateQuickConnectConfigRequest::SetQuickConnectId
void SetQuickConnectId(Aws::String &&value)
Definition: UpdateQuickConnectConfigRequest.h:103
Aws::Connect::Model::UpdateQuickConnectConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateQuickConnectConfigRequest.h:31
Aws::Connect::Model::UpdateQuickConnectConfigRequest::WithInstanceId
UpdateQuickConnectConfigRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateQuickConnectConfigRequest.h:76
Aws::Connect::Model::UpdateQuickConnectConfigRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateQuickConnectConfigRequest.h:52
Aws::Connect::Model::UpdateQuickConnectConfigRequest::SetQuickConnectId
void SetQuickConnectId(const char *value)
Definition: UpdateQuickConnectConfigRequest.h:108
Aws::Connect::Model::UpdateQuickConnectConfigRequest::QuickConnectIdHasBeenSet
bool QuickConnectIdHasBeenSet() const
Definition: UpdateQuickConnectConfigRequest.h:93
Aws::Connect::Model::UpdateQuickConnectConfigRequest::WithQuickConnectId
UpdateQuickConnectConfigRequest & WithQuickConnectId(const Aws::String &value)
Definition: UpdateQuickConnectConfigRequest.h:113
Aws::Connect::Model::UpdateQuickConnectConfigRequest::WithInstanceId
UpdateQuickConnectConfigRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateQuickConnectConfigRequest.h:70
Aws::Connect::Model::UpdateQuickConnectConfigRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateQuickConnectConfigRequest.h:58
QuickConnectConfig.h
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateQuickConnectConfigRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateQuickConnectConfigRequest.h:40
AWSString.h
Aws::Connect::Model::UpdateQuickConnectConfigRequest::WithQuickConnectConfig
UpdateQuickConnectConfigRequest & WithQuickConnectConfig(QuickConnectConfig &&value)
Definition: UpdateQuickConnectConfigRequest.h:154
Aws::Connect::Model::UpdateQuickConnectConfigRequest::SetQuickConnectConfig
void SetQuickConnectConfig(QuickConnectConfig &&value)
Definition: UpdateQuickConnectConfigRequest.h:144
Aws::Connect::Model::UpdateQuickConnectConfigRequest::WithQuickConnectId
UpdateQuickConnectConfigRequest & WithQuickConnectId(Aws::String &&value)
Definition: UpdateQuickConnectConfigRequest.h:118
Aws::Connect::Model::UpdateQuickConnectConfigRequest::SetQuickConnectId
void SetQuickConnectId(const Aws::String &value)
Definition: UpdateQuickConnectConfigRequest.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::QuickConnectConfig
Definition: QuickConnectConfig.h:36
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateQuickConnectConfigRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateQuickConnectConfigRequest.h:64
Aws::Connect::Model::UpdateQuickConnectConfigRequest::GetQuickConnectConfig
const QuickConnectConfig & GetQuickConnectConfig() const
Definition: UpdateQuickConnectConfigRequest.h:129
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UpdateQuickConnectConfigRequest::WithQuickConnectId
UpdateQuickConnectConfigRequest & WithQuickConnectId(const char *value)
Definition: UpdateQuickConnectConfigRequest.h:123
Connect_EXPORTS.h
Aws::Connect::Model::UpdateQuickConnectConfigRequest::SerializePayload
Aws::String SerializePayload() const override
ConnectRequest.h
Aws::Connect::Model::UpdateQuickConnectConfigRequest::UpdateQuickConnectConfigRequest
UpdateQuickConnectConfigRequest()
Aws::Connect::Model::UpdateQuickConnectConfigRequest::GetQuickConnectId
const Aws::String & GetQuickConnectId() const
Definition: UpdateQuickConnectConfigRequest.h:88
Aws::Connect::Model::UpdateQuickConnectConfigRequest::WithInstanceId
UpdateQuickConnectConfigRequest & WithInstanceId(const char *value)
Definition: UpdateQuickConnectConfigRequest.h:82