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/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace Connect 24 { 25 namespace Model 26 { 27 class AWS_CONNECT_API AssociateSecurityKeyResult 28 { 29 public: 30 AssociateSecurityKeyResult(); 31 AssociateSecurityKeyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 AssociateSecurityKeyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The existing association identifier that uniquely identifies the resource 37 * type and storage config for the given instance ID.</p> 38 */ GetAssociationId()39 inline const Aws::String& GetAssociationId() const{ return m_associationId; } 40 41 /** 42 * <p>The existing association identifier that uniquely identifies the resource 43 * type and storage config for the given instance ID.</p> 44 */ SetAssociationId(const Aws::String & value)45 inline void SetAssociationId(const Aws::String& value) { m_associationId = value; } 46 47 /** 48 * <p>The existing association identifier that uniquely identifies the resource 49 * type and storage config for the given instance ID.</p> 50 */ SetAssociationId(Aws::String && value)51 inline void SetAssociationId(Aws::String&& value) { m_associationId = std::move(value); } 52 53 /** 54 * <p>The existing association identifier that uniquely identifies the resource 55 * type and storage config for the given instance ID.</p> 56 */ SetAssociationId(const char * value)57 inline void SetAssociationId(const char* value) { m_associationId.assign(value); } 58 59 /** 60 * <p>The existing association identifier that uniquely identifies the resource 61 * type and storage config for the given instance ID.</p> 62 */ WithAssociationId(const Aws::String & value)63 inline AssociateSecurityKeyResult& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} 64 65 /** 66 * <p>The existing association identifier that uniquely identifies the resource 67 * type and storage config for the given instance ID.</p> 68 */ WithAssociationId(Aws::String && value)69 inline AssociateSecurityKeyResult& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} 70 71 /** 72 * <p>The existing association identifier that uniquely identifies the resource 73 * type and storage config for the given instance ID.</p> 74 */ WithAssociationId(const char * value)75 inline AssociateSecurityKeyResult& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} 76 77 private: 78 79 Aws::String m_associationId; 80 }; 81 82 } // namespace Model 83 } // namespace Connect 84 } // namespace Aws 85