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 CreateQueueResult 28 { 29 public: 30 CreateQueueResult(); 31 CreateQueueResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 CreateQueueResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The Amazon Resource Name (ARN) of the queue.</p> 37 */ GetQueueArn()38 inline const Aws::String& GetQueueArn() const{ return m_queueArn; } 39 40 /** 41 * <p>The Amazon Resource Name (ARN) of the queue.</p> 42 */ SetQueueArn(const Aws::String & value)43 inline void SetQueueArn(const Aws::String& value) { m_queueArn = value; } 44 45 /** 46 * <p>The Amazon Resource Name (ARN) of the queue.</p> 47 */ SetQueueArn(Aws::String && value)48 inline void SetQueueArn(Aws::String&& value) { m_queueArn = std::move(value); } 49 50 /** 51 * <p>The Amazon Resource Name (ARN) of the queue.</p> 52 */ SetQueueArn(const char * value)53 inline void SetQueueArn(const char* value) { m_queueArn.assign(value); } 54 55 /** 56 * <p>The Amazon Resource Name (ARN) of the queue.</p> 57 */ WithQueueArn(const Aws::String & value)58 inline CreateQueueResult& WithQueueArn(const Aws::String& value) { SetQueueArn(value); return *this;} 59 60 /** 61 * <p>The Amazon Resource Name (ARN) of the queue.</p> 62 */ WithQueueArn(Aws::String && value)63 inline CreateQueueResult& WithQueueArn(Aws::String&& value) { SetQueueArn(std::move(value)); return *this;} 64 65 /** 66 * <p>The Amazon Resource Name (ARN) of the queue.</p> 67 */ WithQueueArn(const char * value)68 inline CreateQueueResult& WithQueueArn(const char* value) { SetQueueArn(value); return *this;} 69 70 71 /** 72 * <p>The identifier for the queue.</p> 73 */ GetQueueId()74 inline const Aws::String& GetQueueId() const{ return m_queueId; } 75 76 /** 77 * <p>The identifier for the queue.</p> 78 */ SetQueueId(const Aws::String & value)79 inline void SetQueueId(const Aws::String& value) { m_queueId = value; } 80 81 /** 82 * <p>The identifier for the queue.</p> 83 */ SetQueueId(Aws::String && value)84 inline void SetQueueId(Aws::String&& value) { m_queueId = std::move(value); } 85 86 /** 87 * <p>The identifier for the queue.</p> 88 */ SetQueueId(const char * value)89 inline void SetQueueId(const char* value) { m_queueId.assign(value); } 90 91 /** 92 * <p>The identifier for the queue.</p> 93 */ WithQueueId(const Aws::String & value)94 inline CreateQueueResult& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} 95 96 /** 97 * <p>The identifier for the queue.</p> 98 */ WithQueueId(Aws::String && value)99 inline CreateQueueResult& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} 100 101 /** 102 * <p>The identifier for the queue.</p> 103 */ WithQueueId(const char * value)104 inline CreateQueueResult& WithQueueId(const char* value) { SetQueueId(value); return *this;} 105 106 private: 107 108 Aws::String m_queueArn; 109 110 Aws::String m_queueId; 111 }; 112 113 } // namespace Model 114 } // namespace Connect 115 } // namespace Aws 116