7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/connect/model/HoursOfOperationConfig.h>
50 template<
typename HoursOfOperationIdT = Aws::String>
51 void SetHoursOfOperationId(HoursOfOperationIdT&& value) { m_hoursOfOperationIdHasBeenSet =
true; m_hoursOfOperationId = std::forward<HoursOfOperationIdT>(value); }
52 template<
typename HoursOfOperationIdT = Aws::String>
62 template<
typename HoursOfOperationArnT = Aws::String>
63 void SetHoursOfOperationArn(HoursOfOperationArnT&& value) { m_hoursOfOperationArnHasBeenSet =
true; m_hoursOfOperationArn = std::forward<HoursOfOperationArnT>(value); }
64 template<
typename HoursOfOperationArnT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
86 template<
typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
88 template<
typename DescriptionT = Aws::String>
98 template<
typename TimeZoneT = Aws::String>
99 void SetTimeZone(TimeZoneT&& value) { m_timeZoneHasBeenSet =
true; m_timeZone = std::forward<TimeZoneT>(value); }
100 template<
typename TimeZoneT = Aws::String>
110 template<
typename ConfigT = Aws::Vector<HoursOfOperationConfig>>
111 void SetConfig(ConfigT&& value) { m_configHasBeenSet =
true; m_config = std::forward<ConfigT>(value); }
112 template<
typename ConfigT = Aws::Vector<HoursOfOperationConfig>>
114 template<
typename ConfigT = HoursOfOperationConfig>
115 HoursOfOperation&
AddConfig(ConfigT&& value) { m_configHasBeenSet =
true; m_config.emplace_back(std::forward<ConfigT>(value));
return *
this; }
125 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
127 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
131 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
141 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
142 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
143 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
153 template<
typename LastModifiedRegionT = Aws::String>
154 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet =
true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
155 template<
typename LastModifiedRegionT = Aws::String>
161 bool m_hoursOfOperationIdHasBeenSet =
false;
164 bool m_hoursOfOperationArnHasBeenSet =
false;
167 bool m_nameHasBeenSet =
false;
170 bool m_descriptionHasBeenSet =
false;
173 bool m_timeZoneHasBeenSet =
false;
176 bool m_configHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
182 bool m_lastModifiedTimeHasBeenSet =
false;
185 bool m_lastModifiedRegionHasBeenSet =
false;
HoursOfOperation & AddConfig(ConfigT &&value)
void SetHoursOfOperationArn(HoursOfOperationArnT &&value)
const Aws::String & GetHoursOfOperationId() const
void SetName(NameT &&value)
bool TimeZoneHasBeenSet() const
HoursOfOperation & WithName(NameT &&value)
HoursOfOperation & WithTimeZone(TimeZoneT &&value)
bool ConfigHasBeenSet() const
AWS_CONNECT_API HoursOfOperation(Aws::Utils::Json::JsonView jsonValue)
HoursOfOperation & WithHoursOfOperationArn(HoursOfOperationArnT &&value)
const Aws::String & GetDescription() const
bool TagsHasBeenSet() const
HoursOfOperation & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool HoursOfOperationArnHasBeenSet() const
AWS_CONNECT_API HoursOfOperation()=default
bool NameHasBeenSet() const
const Aws::Vector< HoursOfOperationConfig > & GetConfig() const
HoursOfOperation & WithTags(TagsT &&value)
HoursOfOperation & WithLastModifiedTime(LastModifiedTimeT &&value)
HoursOfOperation & WithLastModifiedRegion(LastModifiedRegionT &&value)
HoursOfOperation & WithConfig(ConfigT &&value)
bool LastModifiedTimeHasBeenSet() const
bool HoursOfOperationIdHasBeenSet() const
const Aws::String & GetLastModifiedRegion() const
void SetDescription(DescriptionT &&value)
void SetConfig(ConfigT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool DescriptionHasBeenSet() const
AWS_CONNECT_API HoursOfOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimeZone(TimeZoneT &&value)
bool LastModifiedRegionHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetTimeZone() const
void SetLastModifiedRegion(LastModifiedRegionT &&value)
const Aws::String & GetName() const
void SetTags(TagsT &&value)
const Aws::String & GetHoursOfOperationArn() const
void SetHoursOfOperationId(HoursOfOperationIdT &&value)
HoursOfOperation & WithHoursOfOperationId(HoursOfOperationIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
HoursOfOperation & WithDescription(DescriptionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue