AWS SDK for C++  1.9.154
AWS SDK for C++
HoursOfOperation.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Connect
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetHoursOfOperationId() const{ return m_hoursOfOperationId; }
47 
51  inline bool HoursOfOperationIdHasBeenSet() const { return m_hoursOfOperationIdHasBeenSet; }
52 
56  inline void SetHoursOfOperationId(const Aws::String& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = value; }
57 
61  inline void SetHoursOfOperationId(Aws::String&& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = std::move(value); }
62 
66  inline void SetHoursOfOperationId(const char* value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId.assign(value); }
67 
71  inline HoursOfOperation& WithHoursOfOperationId(const Aws::String& value) { SetHoursOfOperationId(value); return *this;}
72 
76  inline HoursOfOperation& WithHoursOfOperationId(Aws::String&& value) { SetHoursOfOperationId(std::move(value)); return *this;}
77 
81  inline HoursOfOperation& WithHoursOfOperationId(const char* value) { SetHoursOfOperationId(value); return *this;}
82 
83 
87  inline const Aws::String& GetHoursOfOperationArn() const{ return m_hoursOfOperationArn; }
88 
92  inline bool HoursOfOperationArnHasBeenSet() const { return m_hoursOfOperationArnHasBeenSet; }
93 
97  inline void SetHoursOfOperationArn(const Aws::String& value) { m_hoursOfOperationArnHasBeenSet = true; m_hoursOfOperationArn = value; }
98 
102  inline void SetHoursOfOperationArn(Aws::String&& value) { m_hoursOfOperationArnHasBeenSet = true; m_hoursOfOperationArn = std::move(value); }
103 
107  inline void SetHoursOfOperationArn(const char* value) { m_hoursOfOperationArnHasBeenSet = true; m_hoursOfOperationArn.assign(value); }
108 
112  inline HoursOfOperation& WithHoursOfOperationArn(const Aws::String& value) { SetHoursOfOperationArn(value); return *this;}
113 
117  inline HoursOfOperation& WithHoursOfOperationArn(Aws::String&& value) { SetHoursOfOperationArn(std::move(value)); return *this;}
118 
122  inline HoursOfOperation& WithHoursOfOperationArn(const char* value) { SetHoursOfOperationArn(value); return *this;}
123 
124 
128  inline const Aws::String& GetName() const{ return m_name; }
129 
133  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 
138  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
139 
143  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
144 
148  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
149 
153  inline HoursOfOperation& WithName(const Aws::String& value) { SetName(value); return *this;}
154 
158  inline HoursOfOperation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 
163  inline HoursOfOperation& WithName(const char* value) { SetName(value); return *this;}
164 
165 
169  inline const Aws::String& GetDescription() const{ return m_description; }
170 
174  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
175 
179  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
180 
184  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
185 
189  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
190 
194  inline HoursOfOperation& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
195 
199  inline HoursOfOperation& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
200 
204  inline HoursOfOperation& WithDescription(const char* value) { SetDescription(value); return *this;}
205 
206 
210  inline const Aws::String& GetTimeZone() const{ return m_timeZone; }
211 
215  inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
216 
220  inline void SetTimeZone(const Aws::String& value) { m_timeZoneHasBeenSet = true; m_timeZone = value; }
221 
225  inline void SetTimeZone(Aws::String&& value) { m_timeZoneHasBeenSet = true; m_timeZone = std::move(value); }
226 
230  inline void SetTimeZone(const char* value) { m_timeZoneHasBeenSet = true; m_timeZone.assign(value); }
231 
235  inline HoursOfOperation& WithTimeZone(const Aws::String& value) { SetTimeZone(value); return *this;}
236 
240  inline HoursOfOperation& WithTimeZone(Aws::String&& value) { SetTimeZone(std::move(value)); return *this;}
241 
245  inline HoursOfOperation& WithTimeZone(const char* value) { SetTimeZone(value); return *this;}
246 
247 
251  inline const Aws::Vector<HoursOfOperationConfig>& GetConfig() const{ return m_config; }
252 
256  inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; }
257 
261  inline void SetConfig(const Aws::Vector<HoursOfOperationConfig>& value) { m_configHasBeenSet = true; m_config = value; }
262 
266  inline void SetConfig(Aws::Vector<HoursOfOperationConfig>&& value) { m_configHasBeenSet = true; m_config = std::move(value); }
267 
271  inline HoursOfOperation& WithConfig(const Aws::Vector<HoursOfOperationConfig>& value) { SetConfig(value); return *this;}
272 
276  inline HoursOfOperation& WithConfig(Aws::Vector<HoursOfOperationConfig>&& value) { SetConfig(std::move(value)); return *this;}
277 
281  inline HoursOfOperation& AddConfig(const HoursOfOperationConfig& value) { m_configHasBeenSet = true; m_config.push_back(value); return *this; }
282 
286  inline HoursOfOperation& AddConfig(HoursOfOperationConfig&& value) { m_configHasBeenSet = true; m_config.push_back(std::move(value)); return *this; }
287 
288 
292  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
293 
297  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
298 
302  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
303 
307  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
308 
312  inline HoursOfOperation& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
313 
317  inline HoursOfOperation& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
318 
322  inline HoursOfOperation& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
323 
327  inline HoursOfOperation& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
328 
332  inline HoursOfOperation& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
333 
337  inline HoursOfOperation& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
338 
342  inline HoursOfOperation& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
343 
347  inline HoursOfOperation& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
348 
352  inline HoursOfOperation& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
353 
354  private:
355 
356  Aws::String m_hoursOfOperationId;
357  bool m_hoursOfOperationIdHasBeenSet;
358 
359  Aws::String m_hoursOfOperationArn;
360  bool m_hoursOfOperationArnHasBeenSet;
361 
362  Aws::String m_name;
363  bool m_nameHasBeenSet;
364 
365  Aws::String m_description;
366  bool m_descriptionHasBeenSet;
367 
368  Aws::String m_timeZone;
369  bool m_timeZoneHasBeenSet;
370 
372  bool m_configHasBeenSet;
373 
375  bool m_tagsHasBeenSet;
376  };
377 
378 } // namespace Model
379 } // namespace Connect
380 } // namespace Aws
Aws::Connect::Model::HoursOfOperation::SetConfig
void SetConfig(const Aws::Vector< HoursOfOperationConfig > &value)
Definition: HoursOfOperation.h:261
Aws::Connect::Model::HoursOfOperation::GetConfig
const Aws::Vector< HoursOfOperationConfig > & GetConfig() const
Definition: HoursOfOperation.h:251
Aws::Connect::Model::HoursOfOperation::SetDescription
void SetDescription(const char *value)
Definition: HoursOfOperation.h:189
Aws::Connect::Model::HoursOfOperation::GetHoursOfOperationArn
const Aws::String & GetHoursOfOperationArn() const
Definition: HoursOfOperation.h:87
Aws::Connect::Model::HoursOfOperation::SetHoursOfOperationArn
void SetHoursOfOperationArn(Aws::String &&value)
Definition: HoursOfOperation.h:102
Aws::Connect::Model::HoursOfOperation::WithTimeZone
HoursOfOperation & WithTimeZone(const Aws::String &value)
Definition: HoursOfOperation.h:235
Aws::Connect::Model::HoursOfOperation::HoursOfOperation
HoursOfOperation()
Aws::Connect::Model::HoursOfOperation::WithConfig
HoursOfOperation & WithConfig(const Aws::Vector< HoursOfOperationConfig > &value)
Definition: HoursOfOperation.h:271
Aws::Connect::Model::HoursOfOperation::WithTimeZone
HoursOfOperation & WithTimeZone(const char *value)
Definition: HoursOfOperation.h:245
Aws::Connect::Model::HoursOfOperation::SetHoursOfOperationId
void SetHoursOfOperationId(const char *value)
Definition: HoursOfOperation.h:66
Aws::Connect::Model::HoursOfOperation::AddTags
HoursOfOperation & AddTags(const char *key, Aws::String &&value)
Definition: HoursOfOperation.h:342
Aws::Connect::Model::HoursOfOperation::WithHoursOfOperationId
HoursOfOperation & WithHoursOfOperationId(const char *value)
Definition: HoursOfOperation.h:81
Aws::Connect::Model::HoursOfOperation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::HoursOfOperation::SetName
void SetName(const char *value)
Definition: HoursOfOperation.h:148
Aws::Connect::Model::HoursOfOperation::SetHoursOfOperationId
void SetHoursOfOperationId(const Aws::String &value)
Definition: HoursOfOperation.h:56
Aws::Connect::Model::HoursOfOperation::SetDescription
void SetDescription(Aws::String &&value)
Definition: HoursOfOperation.h:184
Aws::Connect::Model::HoursOfOperation::SetConfig
void SetConfig(Aws::Vector< HoursOfOperationConfig > &&value)
Definition: HoursOfOperation.h:266
Aws::Connect::Model::HoursOfOperation::GetName
const Aws::String & GetName() const
Definition: HoursOfOperation.h:128
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::HoursOfOperation::WithDescription
HoursOfOperation & WithDescription(const Aws::String &value)
Definition: HoursOfOperation.h:194
AWSVector.h
Aws::Connect::Model::HoursOfOperation
Definition: HoursOfOperation.h:35
Aws::Connect::Model::HoursOfOperation::AddTags
HoursOfOperation & AddTags(Aws::String &&key, const char *value)
Definition: HoursOfOperation.h:347
Aws::Connect::Model::HoursOfOperation::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: HoursOfOperation.h:307
Aws::Connect::Model::HoursOfOperation::WithDescription
HoursOfOperation & WithDescription(Aws::String &&value)
Definition: HoursOfOperation.h:199
Aws::Connect::Model::HoursOfOperation::AddTags
HoursOfOperation & AddTags(const char *key, const char *value)
Definition: HoursOfOperation.h:352
Aws::Connect::Model::HoursOfOperation::SetDescription
void SetDescription(const Aws::String &value)
Definition: HoursOfOperation.h:179
Aws::Connect::Model::HoursOfOperation::WithDescription
HoursOfOperation & WithDescription(const char *value)
Definition: HoursOfOperation.h:204
Aws::Connect::Model::HoursOfOperation::SetHoursOfOperationArn
void SetHoursOfOperationArn(const Aws::String &value)
Definition: HoursOfOperation.h:97
Aws::Connect::Model::HoursOfOperation::operator=
HoursOfOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HoursOfOperation::WithConfig
HoursOfOperation & WithConfig(Aws::Vector< HoursOfOperationConfig > &&value)
Definition: HoursOfOperation.h:276
Aws::Connect::Model::HoursOfOperation::WithHoursOfOperationArn
HoursOfOperation & WithHoursOfOperationArn(const Aws::String &value)
Definition: HoursOfOperation.h:112
Aws::Connect::Model::HoursOfOperation::SetHoursOfOperationId
void SetHoursOfOperationId(Aws::String &&value)
Definition: HoursOfOperation.h:61
Aws::Connect::Model::HoursOfOperation::HoursOfOperation
HoursOfOperation(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::HoursOfOperation::AddTags
HoursOfOperation & AddTags(Aws::String &&key, Aws::String &&value)
Definition: HoursOfOperation.h:337
Aws::Connect::Model::HoursOfOperation::WithName
HoursOfOperation & WithName(const Aws::String &value)
Definition: HoursOfOperation.h:153
Aws::Connect::Model::HoursOfOperation::WithHoursOfOperationArn
HoursOfOperation & WithHoursOfOperationArn(const char *value)
Definition: HoursOfOperation.h:122
Aws::Connect::Model::HoursOfOperation::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: HoursOfOperation.h:302
Aws::Connect::Model::HoursOfOperationConfig
Definition: HoursOfOperationConfig.h:34
Aws::Connect::Model::HoursOfOperation::WithTags
HoursOfOperation & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: HoursOfOperation.h:317
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Connect::Model::HoursOfOperation::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: HoursOfOperation.h:297
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::HoursOfOperation::SetTimeZone
void SetTimeZone(Aws::String &&value)
Definition: HoursOfOperation.h:225
Aws::Connect::Model::HoursOfOperation::SetTimeZone
void SetTimeZone(const Aws::String &value)
Definition: HoursOfOperation.h:220
Aws::Connect::Model::HoursOfOperation::ConfigHasBeenSet
bool ConfigHasBeenSet() const
Definition: HoursOfOperation.h:256
Aws::Connect::Model::HoursOfOperation::SetName
void SetName(const Aws::String &value)
Definition: HoursOfOperation.h:138
Aws::Connect::Model::HoursOfOperation::TimeZoneHasBeenSet
bool TimeZoneHasBeenSet() const
Definition: HoursOfOperation.h:215
Aws::Connect::Model::HoursOfOperation::AddTags
HoursOfOperation & AddTags(const Aws::String &key, const Aws::String &value)
Definition: HoursOfOperation.h:322
Aws::Connect::Model::HoursOfOperation::SetTimeZone
void SetTimeZone(const char *value)
Definition: HoursOfOperation.h:230
Aws::Connect::Model::HoursOfOperation::WithHoursOfOperationId
HoursOfOperation & WithHoursOfOperationId(Aws::String &&value)
Definition: HoursOfOperation.h:76
Aws::Connect::Model::HoursOfOperation::AddConfig
HoursOfOperation & AddConfig(HoursOfOperationConfig &&value)
Definition: HoursOfOperation.h:286
Aws::Connect::Model::HoursOfOperation::WithName
HoursOfOperation & WithName(Aws::String &&value)
Definition: HoursOfOperation.h:158
Aws::Connect::Model::HoursOfOperation::WithHoursOfOperationArn
HoursOfOperation & WithHoursOfOperationArn(Aws::String &&value)
Definition: HoursOfOperation.h:117
Aws::Connect::Model::HoursOfOperation::WithName
HoursOfOperation & WithName(const char *value)
Definition: HoursOfOperation.h:163
HoursOfOperationConfig.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::HoursOfOperation::WithHoursOfOperationId
HoursOfOperation & WithHoursOfOperationId(const Aws::String &value)
Definition: HoursOfOperation.h:71
Aws::Connect::Model::HoursOfOperation::SetHoursOfOperationArn
void SetHoursOfOperationArn(const char *value)
Definition: HoursOfOperation.h:107
Aws::Connect::Model::HoursOfOperation::GetTimeZone
const Aws::String & GetTimeZone() const
Definition: HoursOfOperation.h:210
Aws::Connect::Model::HoursOfOperation::GetDescription
const Aws::String & GetDescription() const
Definition: HoursOfOperation.h:169
Aws::Connect::Model::HoursOfOperation::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: HoursOfOperation.h:174
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::HoursOfOperation::HoursOfOperationIdHasBeenSet
bool HoursOfOperationIdHasBeenSet() const
Definition: HoursOfOperation.h:51
Aws::Connect::Model::HoursOfOperation::GetHoursOfOperationId
const Aws::String & GetHoursOfOperationId() const
Definition: HoursOfOperation.h:46
Aws::Connect::Model::HoursOfOperation::AddTags
HoursOfOperation & AddTags(const Aws::String &key, Aws::String &&value)
Definition: HoursOfOperation.h:332
Aws::Connect::Model::HoursOfOperation::SetName
void SetName(Aws::String &&value)
Definition: HoursOfOperation.h:143
Aws::Connect::Model::HoursOfOperation::AddTags
HoursOfOperation & AddTags(Aws::String &&key, const Aws::String &value)
Definition: HoursOfOperation.h:327
Aws::Connect::Model::HoursOfOperation::WithTags
HoursOfOperation & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: HoursOfOperation.h:312
Aws::Connect::Model::HoursOfOperation::AddConfig
HoursOfOperation & AddConfig(const HoursOfOperationConfig &value)
Definition: HoursOfOperation.h:281
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::HoursOfOperation::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: HoursOfOperation.h:292
Aws::Connect::Model::HoursOfOperation::WithTimeZone
HoursOfOperation & WithTimeZone(Aws::String &&value)
Definition: HoursOfOperation.h:240
Aws::Connect::Model::HoursOfOperation::HoursOfOperationArnHasBeenSet
bool HoursOfOperationArnHasBeenSet() const
Definition: HoursOfOperation.h:92
Connect_EXPORTS.h
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Connect::Model::HoursOfOperation::NameHasBeenSet
bool NameHasBeenSet() const
Definition: HoursOfOperation.h:133