AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateInstanceStorageConfigRequest.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 Http
17{
18 class URI;
19} //namespace Http
20namespace Connect
21{
22namespace 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_CONNECT_API Aws::String SerializePayload() const override;
39
40 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
50 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
51 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
53 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
54 inline UpdateInstanceStorageConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
55 inline UpdateInstanceStorageConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
56 inline UpdateInstanceStorageConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
58
60
64 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
65 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
66 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
67 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
68 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
70 inline UpdateInstanceStorageConfigRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
71 inline UpdateInstanceStorageConfigRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
73
75
78 inline const InstanceStorageResourceType& GetResourceType() const{ return m_resourceType; }
79 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
80 inline void SetResourceType(const InstanceStorageResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
81 inline void SetResourceType(InstanceStorageResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
85
87
88 inline const InstanceStorageConfig& GetStorageConfig() const{ return m_storageConfig; }
89 inline bool StorageConfigHasBeenSet() const { return m_storageConfigHasBeenSet; }
90 inline void SetStorageConfig(const InstanceStorageConfig& value) { m_storageConfigHasBeenSet = true; m_storageConfig = value; }
91 inline void SetStorageConfig(InstanceStorageConfig&& value) { m_storageConfigHasBeenSet = true; m_storageConfig = std::move(value); }
95 private:
96
97 Aws::String m_instanceId;
98 bool m_instanceIdHasBeenSet = false;
99
100 Aws::String m_associationId;
101 bool m_associationIdHasBeenSet = false;
102
103 InstanceStorageResourceType m_resourceType;
104 bool m_resourceTypeHasBeenSet = false;
105
106 InstanceStorageConfig m_storageConfig;
107 bool m_storageConfigHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Connect
112} // namespace Aws
UpdateInstanceStorageConfigRequest & WithAssociationId(const char *value)
UpdateInstanceStorageConfigRequest & WithStorageConfig(InstanceStorageConfig &&value)
UpdateInstanceStorageConfigRequest & WithResourceType(const InstanceStorageResourceType &value)
UpdateInstanceStorageConfigRequest & WithInstanceId(const char *value)
UpdateInstanceStorageConfigRequest & WithResourceType(InstanceStorageResourceType &&value)
UpdateInstanceStorageConfigRequest & WithAssociationId(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateInstanceStorageConfigRequest & WithAssociationId(const Aws::String &value)
UpdateInstanceStorageConfigRequest & WithStorageConfig(const InstanceStorageConfig &value)
UpdateInstanceStorageConfigRequest & WithInstanceId(const Aws::String &value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateInstanceStorageConfigRequest & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String