7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/HoursOfOperationConfig.h>
10#include <aws/connect/model/ParentHoursOfOperationConfig.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>
43 template <
typename InstanceIdT = Aws::String>
45 m_instanceIdHasBeenSet =
true;
46 m_instanceId = std::forward<InstanceIdT>(value);
48 template <
typename InstanceIdT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename DescriptionT = Aws::String>
81 m_descriptionHasBeenSet =
true;
82 m_description = std::forward<DescriptionT>(value);
84 template <
typename DescriptionT = Aws::String>
97 template <
typename TimeZoneT = Aws::String>
99 m_timeZoneHasBeenSet =
true;
100 m_timeZone = std::forward<TimeZoneT>(value);
102 template <
typename TimeZoneT = Aws::String>
116 template <
typename ConfigT = Aws::Vector<HoursOfOperationConfig>>
118 m_configHasBeenSet =
true;
119 m_config = std::forward<ConfigT>(value);
121 template <
typename ConfigT = Aws::Vector<HoursOfOperationConfig>>
126 template <
typename ConfigT = HoursOfOperationConfig>
128 m_configHasBeenSet =
true;
129 m_config.emplace_back(std::forward<ConfigT>(value));
143 return m_parentHoursOfOperationConfigs;
146 template <
typename ParentHoursOfOperationConfigsT = Aws::Vector<ParentHoursOfOperationConfig>>
148 m_parentHoursOfOperationConfigsHasBeenSet =
true;
149 m_parentHoursOfOperationConfigs = std::forward<ParentHoursOfOperationConfigsT>(value);
151 template <
typename ParentHoursOfOperationConfigsT = Aws::Vector<ParentHoursOfOperationConfig>>
156 template <
typename ParentHoursOfOperationConfigsT = ParentHoursOfOperationConfig>
158 m_parentHoursOfOperationConfigsHasBeenSet =
true;
159 m_parentHoursOfOperationConfigs.emplace_back(std::forward<ParentHoursOfOperationConfigsT>(value));
171 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 m_tagsHasBeenSet =
true;
174 m_tags = std::forward<TagsT>(value);
176 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
178 SetTags(std::forward<TagsT>(value));
181 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
183 m_tagsHasBeenSet =
true;
184 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
202 bool m_instanceIdHasBeenSet =
false;
203 bool m_nameHasBeenSet =
false;
204 bool m_descriptionHasBeenSet =
false;
205 bool m_timeZoneHasBeenSet =
false;
206 bool m_configHasBeenSet =
false;
207 bool m_parentHoursOfOperationConfigsHasBeenSet =
false;
208 bool m_tagsHasBeenSet =
false;
CreateHoursOfOperationRequest & AddConfig(ConfigT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetName() const
void SetName(NameT &&value)
void SetParentHoursOfOperationConfigs(ParentHoursOfOperationConfigsT &&value)
CreateHoursOfOperationRequest & AddParentHoursOfOperationConfigs(ParentHoursOfOperationConfigsT &&value)
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
void SetTimeZone(TimeZoneT &&value)
bool InstanceIdHasBeenSet() const
bool ConfigHasBeenSet() const
const Aws::Vector< HoursOfOperationConfig > & GetConfig() const
bool NameHasBeenSet() const
CreateHoursOfOperationRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< ParentHoursOfOperationConfig > & GetParentHoursOfOperationConfigs() const
bool TimeZoneHasBeenSet() const
CreateHoursOfOperationRequest & WithParentHoursOfOperationConfigs(ParentHoursOfOperationConfigsT &&value)
CreateHoursOfOperationRequest & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetTimeZone() const
void SetInstanceId(InstanceIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CONNECT_API Aws::String SerializePayload() const override
CreateHoursOfOperationRequest & WithConfig(ConfigT &&value)
CreateHoursOfOperationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetInstanceId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateHoursOfOperationRequest & WithTimeZone(TimeZoneT &&value)
void SetDescription(DescriptionT &&value)
bool ParentHoursOfOperationConfigsHasBeenSet() const
void SetConfig(ConfigT &&value)
CreateHoursOfOperationRequest & WithTags(TagsT &&value)
AWS_CONNECT_API CreateHoursOfOperationRequest()=default
CreateHoursOfOperationRequest & WithName(NameT &&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