AWS SDK for C++  1.9.109
AWS SDK for C++
DisassociateInstanceStorageConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace Connect
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DisassociateInstanceStorageConfig"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
46  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
47 
52  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
53 
58  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
59 
64  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
65 
70  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
71 
76  inline DisassociateInstanceStorageConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
77 
82  inline DisassociateInstanceStorageConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
83 
88  inline DisassociateInstanceStorageConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
89 
90 
95  inline const Aws::String& GetAssociationId() const{ return m_associationId; }
96 
101  inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
102 
107  inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
108 
113  inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
114 
119  inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
120 
125  inline DisassociateInstanceStorageConfigRequest& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
126 
131  inline DisassociateInstanceStorageConfigRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
132 
137  inline DisassociateInstanceStorageConfigRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
138 
139 
143  inline const InstanceStorageResourceType& GetResourceType() const{ return m_resourceType; }
144 
148  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
149 
153  inline void SetResourceType(const InstanceStorageResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
154 
158  inline void SetResourceType(InstanceStorageResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
159 
163  inline DisassociateInstanceStorageConfigRequest& WithResourceType(const InstanceStorageResourceType& value) { SetResourceType(value); return *this;}
164 
168  inline DisassociateInstanceStorageConfigRequest& WithResourceType(InstanceStorageResourceType&& value) { SetResourceType(std::move(value)); return *this;}
169 
170  private:
171 
172  Aws::String m_instanceId;
173  bool m_instanceIdHasBeenSet;
174 
175  Aws::String m_associationId;
176  bool m_associationIdHasBeenSet;
177 
178  InstanceStorageResourceType m_resourceType;
179  bool m_resourceTypeHasBeenSet;
180  };
181 
182 } // namespace Model
183 } // namespace Connect
184 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: DisassociateInstanceStorageConfigRequest.h:95
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::WithInstanceId
DisassociateInstanceStorageConfigRequest & WithInstanceId(const char *value)
Definition: DisassociateInstanceStorageConfigRequest.h:88
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DisassociateInstanceStorageConfigRequest.h:46
InstanceStorageResourceType.h
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest
Definition: DisassociateInstanceStorageConfigRequest.h:27
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisassociateInstanceStorageConfigRequest.h:35
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::DisassociateInstanceStorageConfigRequest
DisassociateInstanceStorageConfigRequest()
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::WithInstanceId
DisassociateInstanceStorageConfigRequest & WithInstanceId(const Aws::String &value)
Definition: DisassociateInstanceStorageConfigRequest.h:76
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: DisassociateInstanceStorageConfigRequest.h:107
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::GetResourceType
const InstanceStorageResourceType & GetResourceType() const
Definition: DisassociateInstanceStorageConfigRequest.h:143
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::WithInstanceId
DisassociateInstanceStorageConfigRequest & WithInstanceId(Aws::String &&value)
Definition: DisassociateInstanceStorageConfigRequest.h:82
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DisassociateInstanceStorageConfigRequest.h:70
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DisassociateInstanceStorageConfigRequest.h:64
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::SetResourceType
void SetResourceType(InstanceStorageResourceType &&value)
Definition: DisassociateInstanceStorageConfigRequest.h:158
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: DisassociateInstanceStorageConfigRequest.h:148
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::AssociationIdHasBeenSet
bool AssociationIdHasBeenSet() const
Definition: DisassociateInstanceStorageConfigRequest.h:101
AWSString.h
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::SetResourceType
void SetResourceType(const InstanceStorageResourceType &value)
Definition: DisassociateInstanceStorageConfigRequest.h:153
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: DisassociateInstanceStorageConfigRequest.h:113
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::WithResourceType
DisassociateInstanceStorageConfigRequest & WithResourceType(const InstanceStorageResourceType &value)
Definition: DisassociateInstanceStorageConfigRequest.h:163
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::WithAssociationId
DisassociateInstanceStorageConfigRequest & WithAssociationId(const Aws::String &value)
Definition: DisassociateInstanceStorageConfigRequest.h:125
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::InstanceStorageResourceType
InstanceStorageResourceType
Definition: InstanceStorageResourceType.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::WithAssociationId
DisassociateInstanceStorageConfigRequest & WithAssociationId(const char *value)
Definition: DisassociateInstanceStorageConfigRequest.h:137
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::WithAssociationId
DisassociateInstanceStorageConfigRequest & WithAssociationId(Aws::String &&value)
Definition: DisassociateInstanceStorageConfigRequest.h:131
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DisassociateInstanceStorageConfigRequest.h:52
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::SetAssociationId
void SetAssociationId(const char *value)
Definition: DisassociateInstanceStorageConfigRequest.h:119
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DisassociateInstanceStorageConfigRequest.h:58
Aws::Connect::Model::DisassociateInstanceStorageConfigRequest::WithResourceType
DisassociateInstanceStorageConfigRequest & WithResourceType(InstanceStorageResourceType &&value)
Definition: DisassociateInstanceStorageConfigRequest.h:168