AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateInstanceStorageConfigRequest.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 <aws/connect/model/InstanceStorageConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "AssociateInstanceStorageConfig"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline AssociateInstanceStorageConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline AssociateInstanceStorageConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
69 inline const InstanceStorageResourceType& GetResourceType() const{ return m_resourceType; }
70 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
71 inline void SetResourceType(const InstanceStorageResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
72 inline void SetResourceType(InstanceStorageResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
76
78
81 inline const InstanceStorageConfig& GetStorageConfig() const{ return m_storageConfig; }
82 inline bool StorageConfigHasBeenSet() const { return m_storageConfigHasBeenSet; }
83 inline void SetStorageConfig(const InstanceStorageConfig& value) { m_storageConfigHasBeenSet = true; m_storageConfig = value; }
84 inline void SetStorageConfig(InstanceStorageConfig&& value) { m_storageConfigHasBeenSet = true; m_storageConfig = std::move(value); }
88 private:
89
90 Aws::String m_instanceId;
91 bool m_instanceIdHasBeenSet = false;
92
93 InstanceStorageResourceType m_resourceType;
94 bool m_resourceTypeHasBeenSet = false;
95
96 InstanceStorageConfig m_storageConfig;
97 bool m_storageConfigHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Connect
102} // namespace Aws
AssociateInstanceStorageConfigRequest & WithResourceType(const InstanceStorageResourceType &value)
AssociateInstanceStorageConfigRequest & WithInstanceId(const char *value)
AssociateInstanceStorageConfigRequest & WithStorageConfig(InstanceStorageConfig &&value)
AssociateInstanceStorageConfigRequest & WithInstanceId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
AssociateInstanceStorageConfigRequest & WithResourceType(InstanceStorageResourceType &&value)
AssociateInstanceStorageConfigRequest & WithInstanceId(Aws::String &&value)
AssociateInstanceStorageConfigRequest & WithStorageConfig(const InstanceStorageConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String