AWS SDK for C++  1.9.153
AWS SDK for C++
UpdateHoursOfOperationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Connect
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateHoursOfOperation"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 
47  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
48 
53  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
54 
59  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
60 
65  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
66 
71  inline UpdateHoursOfOperationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
72 
77  inline UpdateHoursOfOperationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
78 
83  inline UpdateHoursOfOperationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
84 
85 
89  inline const Aws::String& GetHoursOfOperationId() const{ return m_hoursOfOperationId; }
90 
94  inline bool HoursOfOperationIdHasBeenSet() const { return m_hoursOfOperationIdHasBeenSet; }
95 
99  inline void SetHoursOfOperationId(const Aws::String& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = value; }
100 
104  inline void SetHoursOfOperationId(Aws::String&& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = std::move(value); }
105 
109  inline void SetHoursOfOperationId(const char* value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId.assign(value); }
110 
114  inline UpdateHoursOfOperationRequest& WithHoursOfOperationId(const Aws::String& value) { SetHoursOfOperationId(value); return *this;}
115 
119  inline UpdateHoursOfOperationRequest& WithHoursOfOperationId(Aws::String&& value) { SetHoursOfOperationId(std::move(value)); return *this;}
120 
124  inline UpdateHoursOfOperationRequest& WithHoursOfOperationId(const char* value) { SetHoursOfOperationId(value); return *this;}
125 
126 
130  inline const Aws::String& GetName() const{ return m_name; }
131 
135  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
136 
140  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
141 
145  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
146 
150  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
151 
155  inline UpdateHoursOfOperationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
156 
160  inline UpdateHoursOfOperationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
161 
165  inline UpdateHoursOfOperationRequest& WithName(const char* value) { SetName(value); return *this;}
166 
167 
171  inline const Aws::String& GetDescription() const{ return m_description; }
172 
176  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
177 
181  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
182 
186  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
187 
191  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
192 
196  inline UpdateHoursOfOperationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
197 
201  inline UpdateHoursOfOperationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
202 
206  inline UpdateHoursOfOperationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
207 
208 
212  inline const Aws::String& GetTimeZone() const{ return m_timeZone; }
213 
217  inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
218 
222  inline void SetTimeZone(const Aws::String& value) { m_timeZoneHasBeenSet = true; m_timeZone = value; }
223 
227  inline void SetTimeZone(Aws::String&& value) { m_timeZoneHasBeenSet = true; m_timeZone = std::move(value); }
228 
232  inline void SetTimeZone(const char* value) { m_timeZoneHasBeenSet = true; m_timeZone.assign(value); }
233 
237  inline UpdateHoursOfOperationRequest& WithTimeZone(const Aws::String& value) { SetTimeZone(value); return *this;}
238 
242  inline UpdateHoursOfOperationRequest& WithTimeZone(Aws::String&& value) { SetTimeZone(std::move(value)); return *this;}
243 
247  inline UpdateHoursOfOperationRequest& WithTimeZone(const char* value) { SetTimeZone(value); return *this;}
248 
249 
253  inline const Aws::Vector<HoursOfOperationConfig>& GetConfig() const{ return m_config; }
254 
258  inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; }
259 
263  inline void SetConfig(const Aws::Vector<HoursOfOperationConfig>& value) { m_configHasBeenSet = true; m_config = value; }
264 
268  inline void SetConfig(Aws::Vector<HoursOfOperationConfig>&& value) { m_configHasBeenSet = true; m_config = std::move(value); }
269 
273  inline UpdateHoursOfOperationRequest& WithConfig(const Aws::Vector<HoursOfOperationConfig>& value) { SetConfig(value); return *this;}
274 
278  inline UpdateHoursOfOperationRequest& WithConfig(Aws::Vector<HoursOfOperationConfig>&& value) { SetConfig(std::move(value)); return *this;}
279 
283  inline UpdateHoursOfOperationRequest& AddConfig(const HoursOfOperationConfig& value) { m_configHasBeenSet = true; m_config.push_back(value); return *this; }
284 
288  inline UpdateHoursOfOperationRequest& AddConfig(HoursOfOperationConfig&& value) { m_configHasBeenSet = true; m_config.push_back(std::move(value)); return *this; }
289 
290  private:
291 
292  Aws::String m_instanceId;
293  bool m_instanceIdHasBeenSet;
294 
295  Aws::String m_hoursOfOperationId;
296  bool m_hoursOfOperationIdHasBeenSet;
297 
298  Aws::String m_name;
299  bool m_nameHasBeenSet;
300 
301  Aws::String m_description;
302  bool m_descriptionHasBeenSet;
303 
304  Aws::String m_timeZone;
305  bool m_timeZoneHasBeenSet;
306 
308  bool m_configHasBeenSet;
309  };
310 
311 } // namespace Model
312 } // namespace Connect
313 } // namespace Aws
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithHoursOfOperationId
UpdateHoursOfOperationRequest & WithHoursOfOperationId(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:114
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateHoursOfOperationRequest.h:191
Aws::Connect::Model::UpdateHoursOfOperationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:186
Aws::Connect::Model::UpdateHoursOfOperationRequest::ConfigHasBeenSet
bool ConfigHasBeenSet() const
Definition: UpdateHoursOfOperationRequest.h:258
Aws::Connect::Model::UpdateHoursOfOperationRequest::TimeZoneHasBeenSet
bool TimeZoneHasBeenSet() const
Definition: UpdateHoursOfOperationRequest.h:217
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:59
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetConfig
void SetConfig(Aws::Vector< HoursOfOperationConfig > &&value)
Definition: UpdateHoursOfOperationRequest.h:268
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithTimeZone
UpdateHoursOfOperationRequest & WithTimeZone(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:242
Aws::Connect::Model::UpdateHoursOfOperationRequest::AddConfig
UpdateHoursOfOperationRequest & AddConfig(const HoursOfOperationConfig &value)
Definition: UpdateHoursOfOperationRequest.h:283
Aws::Connect::Model::UpdateHoursOfOperationRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateHoursOfOperationRequest.h:47
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetTimeZone
void SetTimeZone(const char *value)
Definition: UpdateHoursOfOperationRequest.h:232
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithName
UpdateHoursOfOperationRequest & WithName(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:160
Aws::Connect::Model::UpdateHoursOfOperationRequest::GetName
const Aws::String & GetName() const
Definition: UpdateHoursOfOperationRequest.h:130
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:140
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetHoursOfOperationId
void SetHoursOfOperationId(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:99
AWSVector.h
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetTimeZone
void SetTimeZone(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:222
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithInstanceId
UpdateHoursOfOperationRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:71
Aws::Connect::Model::UpdateHoursOfOperationRequest
Definition: UpdateHoursOfOperationRequest.h:24
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithName
UpdateHoursOfOperationRequest & WithName(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:155
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithHoursOfOperationId
UpdateHoursOfOperationRequest & WithHoursOfOperationId(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:119
Aws::Connect::Model::UpdateHoursOfOperationRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateHoursOfOperationRequest.h:171
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetConfig
void SetConfig(const Aws::Vector< HoursOfOperationConfig > &value)
Definition: UpdateHoursOfOperationRequest.h:263
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithDescription
UpdateHoursOfOperationRequest & WithDescription(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:201
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetName
void SetName(const char *value)
Definition: UpdateHoursOfOperationRequest.h:150
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateHoursOfOperationRequest.h:65
Aws::Connect::Model::UpdateHoursOfOperationRequest::GetConfig
const Aws::Vector< HoursOfOperationConfig > & GetConfig() const
Definition: UpdateHoursOfOperationRequest.h:253
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetTimeZone
void SetTimeZone(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:227
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::HoursOfOperationConfig
Definition: HoursOfOperationConfig.h:34
Aws::Connect::Model::UpdateHoursOfOperationRequest::AddConfig
UpdateHoursOfOperationRequest & AddConfig(HoursOfOperationConfig &&value)
Definition: UpdateHoursOfOperationRequest.h:288
AWSString.h
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetHoursOfOperationId
void SetHoursOfOperationId(const char *value)
Definition: UpdateHoursOfOperationRequest.h:109
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithTimeZone
UpdateHoursOfOperationRequest & WithTimeZone(const char *value)
Definition: UpdateHoursOfOperationRequest.h:247
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithTimeZone
UpdateHoursOfOperationRequest & WithTimeZone(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:237
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithName
UpdateHoursOfOperationRequest & WithName(const char *value)
Definition: UpdateHoursOfOperationRequest.h:165
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithDescription
UpdateHoursOfOperationRequest & WithDescription(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:196
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithInstanceId
UpdateHoursOfOperationRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:77
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:53
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetHoursOfOperationId
void SetHoursOfOperationId(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:104
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithHoursOfOperationId
UpdateHoursOfOperationRequest & WithHoursOfOperationId(const char *value)
Definition: UpdateHoursOfOperationRequest.h:124
Aws::Connect::Model::UpdateHoursOfOperationRequest::GetHoursOfOperationId
const Aws::String & GetHoursOfOperationId() const
Definition: UpdateHoursOfOperationRequest.h:89
HoursOfOperationConfig.h
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithDescription
UpdateHoursOfOperationRequest & WithDescription(const char *value)
Definition: UpdateHoursOfOperationRequest.h:206
Aws::Connect::Model::UpdateHoursOfOperationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateHoursOfOperationRequest.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithConfig
UpdateHoursOfOperationRequest & WithConfig(Aws::Vector< HoursOfOperationConfig > &&value)
Definition: UpdateHoursOfOperationRequest.h:278
Aws::Connect::Model::UpdateHoursOfOperationRequest::UpdateHoursOfOperationRequest
UpdateHoursOfOperationRequest()
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateHoursOfOperationRequest.h:181
Aws::Connect::Model::UpdateHoursOfOperationRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateHoursOfOperationRequest.h:145
Aws::Connect::Model::UpdateHoursOfOperationRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateHoursOfOperationRequest.h:176
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithConfig
UpdateHoursOfOperationRequest & WithConfig(const Aws::Vector< HoursOfOperationConfig > &value)
Definition: UpdateHoursOfOperationRequest.h:273
Aws::Connect::Model::UpdateHoursOfOperationRequest::HoursOfOperationIdHasBeenSet
bool HoursOfOperationIdHasBeenSet() const
Definition: UpdateHoursOfOperationRequest.h:94
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UpdateHoursOfOperationRequest::GetTimeZone
const Aws::String & GetTimeZone() const
Definition: UpdateHoursOfOperationRequest.h:212
Aws::Connect::Model::UpdateHoursOfOperationRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateHoursOfOperationRequest.h:135
Aws::Connect::Model::UpdateHoursOfOperationRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateHoursOfOperationRequest.h:41
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::UpdateHoursOfOperationRequest::WithInstanceId
UpdateHoursOfOperationRequest & WithInstanceId(const char *value)
Definition: UpdateHoursOfOperationRequest.h:83