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