AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateInstanceStorageConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace Connect
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "UpdateInstanceStorageConfig"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
47  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
48 
53  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
54 
59  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
60 
65  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
66 
71  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
72 
77  inline UpdateInstanceStorageConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
78 
83  inline UpdateInstanceStorageConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
84 
89  inline UpdateInstanceStorageConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
90 
91 
96  inline const Aws::String& GetAssociationId() const{ return m_associationId; }
97 
102  inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
103 
108  inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
109 
114  inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
115 
120  inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
121 
126  inline UpdateInstanceStorageConfigRequest& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
127 
132  inline UpdateInstanceStorageConfigRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
133 
138  inline UpdateInstanceStorageConfigRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
139 
140 
144  inline const InstanceStorageResourceType& GetResourceType() const{ return m_resourceType; }
145 
149  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
150 
154  inline void SetResourceType(const InstanceStorageResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
155 
159  inline void SetResourceType(InstanceStorageResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
160 
164  inline UpdateInstanceStorageConfigRequest& WithResourceType(const InstanceStorageResourceType& value) { SetResourceType(value); return *this;}
165 
169  inline UpdateInstanceStorageConfigRequest& WithResourceType(InstanceStorageResourceType&& value) { SetResourceType(std::move(value)); return *this;}
170 
171 
172 
173  inline const InstanceStorageConfig& GetStorageConfig() const{ return m_storageConfig; }
174 
175 
176  inline bool StorageConfigHasBeenSet() const { return m_storageConfigHasBeenSet; }
177 
178 
179  inline void SetStorageConfig(const InstanceStorageConfig& value) { m_storageConfigHasBeenSet = true; m_storageConfig = value; }
180 
181 
182  inline void SetStorageConfig(InstanceStorageConfig&& value) { m_storageConfigHasBeenSet = true; m_storageConfig = std::move(value); }
183 
184 
185  inline UpdateInstanceStorageConfigRequest& WithStorageConfig(const InstanceStorageConfig& value) { SetStorageConfig(value); return *this;}
186 
187 
188  inline UpdateInstanceStorageConfigRequest& WithStorageConfig(InstanceStorageConfig&& value) { SetStorageConfig(std::move(value)); return *this;}
189 
190  private:
191 
192  Aws::String m_instanceId;
193  bool m_instanceIdHasBeenSet;
194 
195  Aws::String m_associationId;
196  bool m_associationIdHasBeenSet;
197 
198  InstanceStorageResourceType m_resourceType;
199  bool m_resourceTypeHasBeenSet;
200 
201  InstanceStorageConfig m_storageConfig;
202  bool m_storageConfigHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace Connect
207 } // namespace Aws
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::UpdateInstanceStorageConfigRequest
UpdateInstanceStorageConfigRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateInstanceStorageConfigRequest
Definition: UpdateInstanceStorageConfigRequest.h:28
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithStorageConfig
UpdateInstanceStorageConfigRequest & WithStorageConfig(InstanceStorageConfig &&value)
Definition: UpdateInstanceStorageConfigRequest.h:188
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::AssociationIdHasBeenSet
bool AssociationIdHasBeenSet() const
Definition: UpdateInstanceStorageConfigRequest.h:102
InstanceStorageConfig.h
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetAssociationId
void SetAssociationId(const char *value)
Definition: UpdateInstanceStorageConfigRequest.h:120
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithInstanceId
UpdateInstanceStorageConfigRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateInstanceStorageConfigRequest.h:83
InstanceStorageResourceType.h
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithStorageConfig
UpdateInstanceStorageConfigRequest & WithStorageConfig(const InstanceStorageConfig &value)
Definition: UpdateInstanceStorageConfigRequest.h:185
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: UpdateInstanceStorageConfigRequest.h:96
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::GetStorageConfig
const InstanceStorageConfig & GetStorageConfig() const
Definition: UpdateInstanceStorageConfigRequest.h:173
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateInstanceStorageConfigRequest.h:59
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithInstanceId
UpdateInstanceStorageConfigRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateInstanceStorageConfigRequest.h:77
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetStorageConfig
void SetStorageConfig(InstanceStorageConfig &&value)
Definition: UpdateInstanceStorageConfigRequest.h:182
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithResourceType
UpdateInstanceStorageConfigRequest & WithResourceType(InstanceStorageResourceType &&value)
Definition: UpdateInstanceStorageConfigRequest.h:169
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::StorageConfigHasBeenSet
bool StorageConfigHasBeenSet() const
Definition: UpdateInstanceStorageConfigRequest.h:176
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: UpdateInstanceStorageConfigRequest.h:149
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithInstanceId
UpdateInstanceStorageConfigRequest & WithInstanceId(const char *value)
Definition: UpdateInstanceStorageConfigRequest.h:89
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: UpdateInstanceStorageConfigRequest.h:108
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: UpdateInstanceStorageConfigRequest.h:114
AWSString.h
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateInstanceStorageConfigRequest.h:53
Aws::Connect::Model::InstanceStorageConfig
Definition: InstanceStorageConfig.h:37
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithAssociationId
UpdateInstanceStorageConfigRequest & WithAssociationId(const char *value)
Definition: UpdateInstanceStorageConfigRequest.h:138
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateInstanceStorageConfigRequest.h:71
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithAssociationId
UpdateInstanceStorageConfigRequest & WithAssociationId(Aws::String &&value)
Definition: UpdateInstanceStorageConfigRequest.h:132
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateInstanceStorageConfigRequest.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateInstanceStorageConfigRequest.h:47
Aws::Connect::Model::InstanceStorageResourceType
InstanceStorageResourceType
Definition: InstanceStorageResourceType.h:17
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetResourceType
void SetResourceType(const InstanceStorageResourceType &value)
Definition: UpdateInstanceStorageConfigRequest.h:154
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetStorageConfig
void SetStorageConfig(const InstanceStorageConfig &value)
Definition: UpdateInstanceStorageConfigRequest.h:179
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateInstanceStorageConfigRequest.h:65
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithResourceType
UpdateInstanceStorageConfigRequest & WithResourceType(const InstanceStorageResourceType &value)
Definition: UpdateInstanceStorageConfigRequest.h:164
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::WithAssociationId
UpdateInstanceStorageConfigRequest & WithAssociationId(const Aws::String &value)
Definition: UpdateInstanceStorageConfigRequest.h:126
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::SetResourceType
void SetResourceType(InstanceStorageResourceType &&value)
Definition: UpdateInstanceStorageConfigRequest.h:159
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::UpdateInstanceStorageConfigRequest::GetResourceType
const InstanceStorageResourceType & GetResourceType() const
Definition: UpdateInstanceStorageConfigRequest.h:144