7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/connect/model/HoursOfOperationConfig.h>
46 template<
typename InstanceIdT = Aws::String>
47 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
48 template<
typename InstanceIdT = Aws::String>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
82 template<
typename TimeZoneT = Aws::String>
83 void SetTimeZone(TimeZoneT&& value) { m_timeZoneHasBeenSet =
true; m_timeZone = std::forward<TimeZoneT>(value); }
84 template<
typename TimeZoneT = Aws::String>
95 template<
typename ConfigT = Aws::Vector<HoursOfOperationConfig>>
96 void SetConfig(ConfigT&& value) { m_configHasBeenSet =
true; m_config = std::forward<ConfigT>(value); }
97 template<
typename ConfigT = Aws::Vector<HoursOfOperationConfig>>
99 template<
typename ConfigT = HoursOfOperationConfig>
110 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
112 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
116 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
122 bool m_instanceIdHasBeenSet =
false;
125 bool m_nameHasBeenSet =
false;
128 bool m_descriptionHasBeenSet =
false;
131 bool m_timeZoneHasBeenSet =
false;
134 bool m_configHasBeenSet =
false;
137 bool m_tagsHasBeenSet =
false;
CreateHoursOfOperationRequest & AddConfig(ConfigT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetName() const
void SetName(NameT &&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)
bool TimeZoneHasBeenSet() const
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)
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