AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeInstanceStorageConfigRequest.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 "DescribeInstanceStorageConfig"; }
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 DescribeInstanceStorageConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
77 
82  inline DescribeInstanceStorageConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
83 
88  inline DescribeInstanceStorageConfigRequest& 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 DescribeInstanceStorageConfigRequest& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
126 
131  inline DescribeInstanceStorageConfigRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
132 
137  inline DescribeInstanceStorageConfigRequest& 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 DescribeInstanceStorageConfigRequest& WithResourceType(const InstanceStorageResourceType& value) { SetResourceType(value); return *this;}
164 
168  inline DescribeInstanceStorageConfigRequest& 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::Connect::Model::DescribeInstanceStorageConfigRequest::GetResourceType
const InstanceStorageResourceType & GetResourceType() const
Definition: DescribeInstanceStorageConfigRequest.h:143
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::SetAssociationId
void SetAssociationId(Aws::String &&value)
Definition: DescribeInstanceStorageConfigRequest.h:113
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::AssociationIdHasBeenSet
bool AssociationIdHasBeenSet() const
Definition: DescribeInstanceStorageConfigRequest.h:101
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: DescribeInstanceStorageConfigRequest.h:148
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: DescribeInstanceStorageConfigRequest.h:52
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::SetAssociationId
void SetAssociationId(const Aws::String &value)
Definition: DescribeInstanceStorageConfigRequest.h:107
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::SetAssociationId
void SetAssociationId(const char *value)
Definition: DescribeInstanceStorageConfigRequest.h:119
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::WithInstanceId
DescribeInstanceStorageConfigRequest & WithInstanceId(const char *value)
Definition: DescribeInstanceStorageConfigRequest.h:88
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::WithInstanceId
DescribeInstanceStorageConfigRequest & WithInstanceId(Aws::String &&value)
Definition: DescribeInstanceStorageConfigRequest.h:82
InstanceStorageResourceType.h
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::WithAssociationId
DescribeInstanceStorageConfigRequest & WithAssociationId(const Aws::String &value)
Definition: DescribeInstanceStorageConfigRequest.h:125
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::SetResourceType
void SetResourceType(const InstanceStorageResourceType &value)
Definition: DescribeInstanceStorageConfigRequest.h:153
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeInstanceStorageConfigRequest.h:35
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::SetResourceType
void SetResourceType(InstanceStorageResourceType &&value)
Definition: DescribeInstanceStorageConfigRequest.h:158
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::WithInstanceId
DescribeInstanceStorageConfigRequest & WithInstanceId(const Aws::String &value)
Definition: DescribeInstanceStorageConfigRequest.h:76
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: DescribeInstanceStorageConfigRequest.h:70
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: DescribeInstanceStorageConfigRequest.h:58
AWSString.h
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: DescribeInstanceStorageConfigRequest.h:46
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::GetAssociationId
const Aws::String & GetAssociationId() const
Definition: DescribeInstanceStorageConfigRequest.h:95
Aws::Connect::Model::DescribeInstanceStorageConfigRequest
Definition: DescribeInstanceStorageConfigRequest.h:27
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::WithAssociationId
DescribeInstanceStorageConfigRequest & WithAssociationId(const char *value)
Definition: DescribeInstanceStorageConfigRequest.h:137
Aws::Connect::Model::InstanceStorageResourceType
InstanceStorageResourceType
Definition: InstanceStorageResourceType.h:17
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: DescribeInstanceStorageConfigRequest.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::WithResourceType
DescribeInstanceStorageConfigRequest & WithResourceType(InstanceStorageResourceType &&value)
Definition: DescribeInstanceStorageConfigRequest.h:168
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::WithAssociationId
DescribeInstanceStorageConfigRequest & WithAssociationId(Aws::String &&value)
Definition: DescribeInstanceStorageConfigRequest.h:131
Connect_EXPORTS.h
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::WithResourceType
DescribeInstanceStorageConfigRequest & WithResourceType(const InstanceStorageResourceType &value)
Definition: DescribeInstanceStorageConfigRequest.h:163
Aws::Connect::Model::DescribeInstanceStorageConfigRequest::DescribeInstanceStorageConfigRequest
DescribeInstanceStorageConfigRequest()
ConnectRequest.h