AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInstanceStorageConfigRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/InstanceStorageResourceType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Connect
20{
21namespace 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_CONNECT_API Aws::String SerializePayload() const override;
38
39 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
48 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
51 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
52 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
54 inline DescribeInstanceStorageConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
55 inline DescribeInstanceStorageConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
57
59
63 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
64 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
65 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
66 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
67 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
69 inline DescribeInstanceStorageConfigRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
70 inline DescribeInstanceStorageConfigRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
72
74
77 inline const InstanceStorageResourceType& GetResourceType() const{ return m_resourceType; }
78 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
79 inline void SetResourceType(const InstanceStorageResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
80 inline void SetResourceType(InstanceStorageResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
84 private:
85
86 Aws::String m_instanceId;
87 bool m_instanceIdHasBeenSet = false;
88
89 Aws::String m_associationId;
90 bool m_associationIdHasBeenSet = false;
91
92 InstanceStorageResourceType m_resourceType;
93 bool m_resourceTypeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Connect
98} // namespace Aws
DescribeInstanceStorageConfigRequest & WithResourceType(const InstanceStorageResourceType &value)
DescribeInstanceStorageConfigRequest & WithInstanceId(Aws::String &&value)
DescribeInstanceStorageConfigRequest & WithAssociationId(const Aws::String &value)
DescribeInstanceStorageConfigRequest & WithInstanceId(const char *value)
DescribeInstanceStorageConfigRequest & WithInstanceId(const Aws::String &value)
DescribeInstanceStorageConfigRequest & WithAssociationId(const char *value)
DescribeInstanceStorageConfigRequest & WithAssociationId(Aws::String &&value)
DescribeInstanceStorageConfigRequest & WithResourceType(InstanceStorageResourceType &&value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CONNECT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String