AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateQueueHoursOfOperationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateQueueHoursOfOperation"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
40 
45  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 
51  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 
57  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
58 
63  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
64 
69  inline UpdateQueueHoursOfOperationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline UpdateQueueHoursOfOperationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline UpdateQueueHoursOfOperationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
87  inline const Aws::String& GetQueueId() const{ return m_queueId; }
88 
92  inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
93 
97  inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
98 
102  inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
103 
107  inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
108 
112  inline UpdateQueueHoursOfOperationRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
113 
117  inline UpdateQueueHoursOfOperationRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
118 
122  inline UpdateQueueHoursOfOperationRequest& WithQueueId(const char* value) { SetQueueId(value); return *this;}
123 
124 
128  inline const Aws::String& GetHoursOfOperationId() const{ return m_hoursOfOperationId; }
129 
133  inline bool HoursOfOperationIdHasBeenSet() const { return m_hoursOfOperationIdHasBeenSet; }
134 
138  inline void SetHoursOfOperationId(const Aws::String& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = value; }
139 
143  inline void SetHoursOfOperationId(Aws::String&& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = std::move(value); }
144 
148  inline void SetHoursOfOperationId(const char* value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId.assign(value); }
149 
153  inline UpdateQueueHoursOfOperationRequest& WithHoursOfOperationId(const Aws::String& value) { SetHoursOfOperationId(value); return *this;}
154 
158  inline UpdateQueueHoursOfOperationRequest& WithHoursOfOperationId(Aws::String&& value) { SetHoursOfOperationId(std::move(value)); return *this;}
159 
163  inline UpdateQueueHoursOfOperationRequest& WithHoursOfOperationId(const char* value) { SetHoursOfOperationId(value); return *this;}
164 
165  private:
166 
167  Aws::String m_instanceId;
168  bool m_instanceIdHasBeenSet;
169 
170  Aws::String m_queueId;
171  bool m_queueIdHasBeenSet;
172 
173  Aws::String m_hoursOfOperationId;
174  bool m_hoursOfOperationIdHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace Connect
179 } // namespace Aws
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateQueueHoursOfOperationRequest.h:63
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SetQueueId
void SetQueueId(const char *value)
Definition: UpdateQueueHoursOfOperationRequest.h:107
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateQueueHoursOfOperationRequest.h:45
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: UpdateQueueHoursOfOperationRequest.h:102
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: UpdateQueueHoursOfOperationRequest.h:97
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::WithInstanceId
UpdateQueueHoursOfOperationRequest & WithInstanceId(const char *value)
Definition: UpdateQueueHoursOfOperationRequest.h:81
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateQueueHoursOfOperationRequest.h:51
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::WithQueueId
UpdateQueueHoursOfOperationRequest & WithQueueId(const Aws::String &value)
Definition: UpdateQueueHoursOfOperationRequest.h:112
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::WithInstanceId
UpdateQueueHoursOfOperationRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateQueueHoursOfOperationRequest.h:75
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::GetQueueId
const Aws::String & GetQueueId() const
Definition: UpdateQueueHoursOfOperationRequest.h:87
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest
Definition: UpdateQueueHoursOfOperationRequest.h:22
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateQueueHoursOfOperationRequest.h:57
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::GetHoursOfOperationId
const Aws::String & GetHoursOfOperationId() const
Definition: UpdateQueueHoursOfOperationRequest.h:128
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::WithQueueId
UpdateQueueHoursOfOperationRequest & WithQueueId(const char *value)
Definition: UpdateQueueHoursOfOperationRequest.h:122
AWSString.h
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateQueueHoursOfOperationRequest.h:30
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::WithHoursOfOperationId
UpdateQueueHoursOfOperationRequest & WithHoursOfOperationId(Aws::String &&value)
Definition: UpdateQueueHoursOfOperationRequest.h:158
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SetHoursOfOperationId
void SetHoursOfOperationId(const Aws::String &value)
Definition: UpdateQueueHoursOfOperationRequest.h:138
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateQueueHoursOfOperationRequest.h:39
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SetHoursOfOperationId
void SetHoursOfOperationId(const char *value)
Definition: UpdateQueueHoursOfOperationRequest.h:148
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::SetHoursOfOperationId
void SetHoursOfOperationId(Aws::String &&value)
Definition: UpdateQueueHoursOfOperationRequest.h:143
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::QueueIdHasBeenSet
bool QueueIdHasBeenSet() const
Definition: UpdateQueueHoursOfOperationRequest.h:92
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::WithInstanceId
UpdateQueueHoursOfOperationRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateQueueHoursOfOperationRequest.h:69
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::UpdateQueueHoursOfOperationRequest
UpdateQueueHoursOfOperationRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::HoursOfOperationIdHasBeenSet
bool HoursOfOperationIdHasBeenSet() const
Definition: UpdateQueueHoursOfOperationRequest.h:133
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::WithHoursOfOperationId
UpdateQueueHoursOfOperationRequest & WithHoursOfOperationId(const char *value)
Definition: UpdateQueueHoursOfOperationRequest.h:163
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::WithQueueId
UpdateQueueHoursOfOperationRequest & WithQueueId(Aws::String &&value)
Definition: UpdateQueueHoursOfOperationRequest.h:117
Aws::Connect::Model::UpdateQueueHoursOfOperationRequest::WithHoursOfOperationId
UpdateQueueHoursOfOperationRequest & WithHoursOfOperationId(const Aws::String &value)
Definition: UpdateQueueHoursOfOperationRequest.h:153