1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 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 13 namespace Aws 14 { 15 namespace Http 16 { 17 class URI; 18 } //namespace Http 19 namespace Connect 20 { 21 namespace Model 22 { 23 24 /** 25 */ 26 class AWS_CONNECT_API DescribeInstanceStorageConfigRequest : public ConnectRequest 27 { 28 public: 29 DescribeInstanceStorageConfigRequest(); 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. GetServiceRequestName()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 42 /** 43 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 44 * the ARN of the instance.</p> 45 */ GetInstanceId()46 inline const Aws::String& GetInstanceId() const{ return m_instanceId; } 47 48 /** 49 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 50 * the ARN of the instance.</p> 51 */ InstanceIdHasBeenSet()52 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } 53 54 /** 55 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 56 * the ARN of the instance.</p> 57 */ SetInstanceId(const Aws::String & value)58 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } 59 60 /** 61 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 62 * the ARN of the instance.</p> 63 */ SetInstanceId(Aws::String && value)64 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } 65 66 /** 67 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 68 * the ARN of the instance.</p> 69 */ SetInstanceId(const char * value)70 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } 71 72 /** 73 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 74 * the ARN of the instance.</p> 75 */ WithInstanceId(const Aws::String & value)76 inline DescribeInstanceStorageConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} 77 78 /** 79 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 80 * the ARN of the instance.</p> 81 */ WithInstanceId(Aws::String && value)82 inline DescribeInstanceStorageConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} 83 84 /** 85 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 86 * the ARN of the instance.</p> 87 */ WithInstanceId(const char * value)88 inline DescribeInstanceStorageConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} 89 90 91 /** 92 * <p>The existing association identifier that uniquely identifies the resource 93 * type and storage config for the given instance ID.</p> 94 */ GetAssociationId()95 inline const Aws::String& GetAssociationId() const{ return m_associationId; } 96 97 /** 98 * <p>The existing association identifier that uniquely identifies the resource 99 * type and storage config for the given instance ID.</p> 100 */ AssociationIdHasBeenSet()101 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; } 102 103 /** 104 * <p>The existing association identifier that uniquely identifies the resource 105 * type and storage config for the given instance ID.</p> 106 */ SetAssociationId(const Aws::String & value)107 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; } 108 109 /** 110 * <p>The existing association identifier that uniquely identifies the resource 111 * type and storage config for the given instance ID.</p> 112 */ SetAssociationId(Aws::String && value)113 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); } 114 115 /** 116 * <p>The existing association identifier that uniquely identifies the resource 117 * type and storage config for the given instance ID.</p> 118 */ SetAssociationId(const char * value)119 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); } 120 121 /** 122 * <p>The existing association identifier that uniquely identifies the resource 123 * type and storage config for the given instance ID.</p> 124 */ WithAssociationId(const Aws::String & value)125 inline DescribeInstanceStorageConfigRequest& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} 126 127 /** 128 * <p>The existing association identifier that uniquely identifies the resource 129 * type and storage config for the given instance ID.</p> 130 */ WithAssociationId(Aws::String && value)131 inline DescribeInstanceStorageConfigRequest& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} 132 133 /** 134 * <p>The existing association identifier that uniquely identifies the resource 135 * type and storage config for the given instance ID.</p> 136 */ WithAssociationId(const char * value)137 inline DescribeInstanceStorageConfigRequest& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} 138 139 140 /** 141 * <p>A valid resource type.</p> 142 */ GetResourceType()143 inline const InstanceStorageResourceType& GetResourceType() const{ return m_resourceType; } 144 145 /** 146 * <p>A valid resource type.</p> 147 */ ResourceTypeHasBeenSet()148 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } 149 150 /** 151 * <p>A valid resource type.</p> 152 */ SetResourceType(const InstanceStorageResourceType & value)153 inline void SetResourceType(const InstanceStorageResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } 154 155 /** 156 * <p>A valid resource type.</p> 157 */ SetResourceType(InstanceStorageResourceType && value)158 inline void SetResourceType(InstanceStorageResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } 159 160 /** 161 * <p>A valid resource type.</p> 162 */ WithResourceType(const InstanceStorageResourceType & value)163 inline DescribeInstanceStorageConfigRequest& WithResourceType(const InstanceStorageResourceType& value) { SetResourceType(value); return *this;} 164 165 /** 166 * <p>A valid resource type.</p> 167 */ WithResourceType(InstanceStorageResourceType && value)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 185