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 <utility> 11 12 namespace Aws 13 { 14 namespace Connect 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_CONNECT_API UpdateQueueMaxContactsRequest : public ConnectRequest 22 { 23 public: 24 UpdateQueueMaxContactsRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "UpdateQueueMaxContacts"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 37 * the ARN of the instance.</p> 38 */ GetInstanceId()39 inline const Aws::String& GetInstanceId() const{ return m_instanceId; } 40 41 /** 42 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 43 * the ARN of the instance.</p> 44 */ InstanceIdHasBeenSet()45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } 46 47 /** 48 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 49 * the ARN of the instance.</p> 50 */ SetInstanceId(const Aws::String & value)51 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } 52 53 /** 54 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 55 * the ARN of the instance.</p> 56 */ SetInstanceId(Aws::String && value)57 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } 58 59 /** 60 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 61 * the ARN of the instance.</p> 62 */ SetInstanceId(const char * value)63 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } 64 65 /** 66 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 67 * the ARN of the instance.</p> 68 */ WithInstanceId(const Aws::String & value)69 inline UpdateQueueMaxContactsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} 70 71 /** 72 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 73 * the ARN of the instance.</p> 74 */ WithInstanceId(Aws::String && value)75 inline UpdateQueueMaxContactsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} 76 77 /** 78 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 79 * the ARN of the instance.</p> 80 */ WithInstanceId(const char * value)81 inline UpdateQueueMaxContactsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} 82 83 84 /** 85 * <p>The identifier for the queue.</p> 86 */ GetQueueId()87 inline const Aws::String& GetQueueId() const{ return m_queueId; } 88 89 /** 90 * <p>The identifier for the queue.</p> 91 */ QueueIdHasBeenSet()92 inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; } 93 94 /** 95 * <p>The identifier for the queue.</p> 96 */ SetQueueId(const Aws::String & value)97 inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; } 98 99 /** 100 * <p>The identifier for the queue.</p> 101 */ SetQueueId(Aws::String && value)102 inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); } 103 104 /** 105 * <p>The identifier for the queue.</p> 106 */ SetQueueId(const char * value)107 inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); } 108 109 /** 110 * <p>The identifier for the queue.</p> 111 */ WithQueueId(const Aws::String & value)112 inline UpdateQueueMaxContactsRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;} 113 114 /** 115 * <p>The identifier for the queue.</p> 116 */ WithQueueId(Aws::String && value)117 inline UpdateQueueMaxContactsRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;} 118 119 /** 120 * <p>The identifier for the queue.</p> 121 */ WithQueueId(const char * value)122 inline UpdateQueueMaxContactsRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;} 123 124 125 /** 126 * <p>The maximum number of contacts that can be in the queue before it is 127 * considered full.</p> 128 */ GetMaxContacts()129 inline int GetMaxContacts() const{ return m_maxContacts; } 130 131 /** 132 * <p>The maximum number of contacts that can be in the queue before it is 133 * considered full.</p> 134 */ MaxContactsHasBeenSet()135 inline bool MaxContactsHasBeenSet() const { return m_maxContactsHasBeenSet; } 136 137 /** 138 * <p>The maximum number of contacts that can be in the queue before it is 139 * considered full.</p> 140 */ SetMaxContacts(int value)141 inline void SetMaxContacts(int value) { m_maxContactsHasBeenSet = true; m_maxContacts = value; } 142 143 /** 144 * <p>The maximum number of contacts that can be in the queue before it is 145 * considered full.</p> 146 */ WithMaxContacts(int value)147 inline UpdateQueueMaxContactsRequest& WithMaxContacts(int value) { SetMaxContacts(value); return *this;} 148 149 private: 150 151 Aws::String m_instanceId; 152 bool m_instanceIdHasBeenSet; 153 154 Aws::String m_queueId; 155 bool m_queueIdHasBeenSet; 156 157 int m_maxContacts; 158 bool m_maxContactsHasBeenSet; 159 }; 160 161 } // namespace Model 162 } // namespace Connect 163 } // namespace Aws 164