7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/HoursOfOperationConfig.h>
9#include <aws/connect/model/HoursOfOperationsIdentifier.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename HoursOfOperationIdT = Aws::String>
47 m_hoursOfOperationIdHasBeenSet =
true;
48 m_hoursOfOperationId = std::forward<HoursOfOperationIdT>(value);
50 template <
typename HoursOfOperationIdT = Aws::String>
63 template <
typename HoursOfOperationArnT = Aws::String>
65 m_hoursOfOperationArnHasBeenSet =
true;
66 m_hoursOfOperationArn = std::forward<HoursOfOperationArnT>(value);
68 template <
typename HoursOfOperationArnT = Aws::String>
81 template <
typename NameT = Aws::String>
83 m_nameHasBeenSet =
true;
84 m_name = std::forward<NameT>(value);
86 template <
typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
117 template <
typename TimeZoneT = Aws::String>
119 m_timeZoneHasBeenSet =
true;
120 m_timeZone = std::forward<TimeZoneT>(value);
122 template <
typename TimeZoneT = Aws::String>
135 template <
typename ConfigT = Aws::Vector<HoursOfOperationConfig>>
137 m_configHasBeenSet =
true;
138 m_config = std::forward<ConfigT>(value);
140 template <
typename ConfigT = Aws::Vector<HoursOfOperationConfig>>
145 template <
typename ConfigT = HoursOfOperationConfig>
147 m_configHasBeenSet =
true;
148 m_config.emplace_back(std::forward<ConfigT>(value));
159 template <
typename ParentHoursOfOperationsT = Aws::Vector<HoursOfOperationsIdentifier>>
161 m_parentHoursOfOperationsHasBeenSet =
true;
162 m_parentHoursOfOperations = std::forward<ParentHoursOfOperationsT>(value);
164 template <
typename ParentHoursOfOperationsT = Aws::Vector<HoursOfOperationsIdentifier>>
169 template <
typename ParentHoursOfOperationsT = HoursOfOperationsIdentifier>
171 m_parentHoursOfOperationsHasBeenSet =
true;
172 m_parentHoursOfOperations.emplace_back(std::forward<ParentHoursOfOperationsT>(value));
184 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
186 m_tagsHasBeenSet =
true;
187 m_tags = std::forward<TagsT>(value);
189 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
191 SetTags(std::forward<TagsT>(value));
194 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
196 m_tagsHasBeenSet =
true;
197 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
208 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
210 m_lastModifiedTimeHasBeenSet =
true;
211 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
213 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
226 template <
typename LastModifiedRegionT = Aws::String>
228 m_lastModifiedRegionHasBeenSet =
true;
229 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
231 template <
typename LastModifiedRegionT = Aws::String>
257 bool m_hoursOfOperationIdHasBeenSet =
false;
258 bool m_hoursOfOperationArnHasBeenSet =
false;
259 bool m_nameHasBeenSet =
false;
260 bool m_descriptionHasBeenSet =
false;
261 bool m_timeZoneHasBeenSet =
false;
262 bool m_configHasBeenSet =
false;
263 bool m_parentHoursOfOperationsHasBeenSet =
false;
264 bool m_tagsHasBeenSet =
false;
265 bool m_lastModifiedTimeHasBeenSet =
false;
266 bool m_lastModifiedRegionHasBeenSet =
false;
HoursOfOperation & AddConfig(ConfigT &&value)
void SetHoursOfOperationArn(HoursOfOperationArnT &&value)
void SetParentHoursOfOperations(ParentHoursOfOperationsT &&value)
const Aws::String & GetHoursOfOperationId() const
void SetName(NameT &&value)
bool TimeZoneHasBeenSet() const
HoursOfOperation & WithParentHoursOfOperations(ParentHoursOfOperationsT &&value)
bool ParentHoursOfOperationsHasBeenSet() 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
const Aws::Vector< HoursOfOperationsIdentifier > & GetParentHoursOfOperations() const
HoursOfOperation & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool HoursOfOperationArnHasBeenSet() const
AWS_CONNECT_API HoursOfOperation()=default
bool NameHasBeenSet() const
HoursOfOperation & AddParentHoursOfOperations(ParentHoursOfOperationsT &&value)
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