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/connect/model/PredefinedAttributeValues.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/connect/model/InputPredefinedAttributeConfiguration.h>
45 template<
typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
47 template<
typename InstanceIdT = Aws::String>
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
69 template<
typename ValuesT = PredefinedAttributeValues>
70 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
71 template<
typename ValuesT = PredefinedAttributeValues>
82 template<
typename PurposesT = Aws::Vector<Aws::String>>
83 void SetPurposes(PurposesT&& value) { m_purposesHasBeenSet =
true; m_purposes = std::forward<PurposesT>(value); }
84 template<
typename PurposesT = Aws::Vector<Aws::String>>
86 template<
typename PurposesT = Aws::String>
98 template<
typename AttributeConfigurationT = InputPredefinedAttributeConfiguration>
99 void SetAttributeConfiguration(AttributeConfigurationT&& value) { m_attributeConfigurationHasBeenSet =
true; m_attributeConfiguration = std::forward<AttributeConfigurationT>(value); }
100 template<
typename AttributeConfigurationT = InputPredefinedAttributeConfiguration>
106 bool m_instanceIdHasBeenSet =
false;
109 bool m_nameHasBeenSet =
false;
112 bool m_valuesHasBeenSet =
false;
115 bool m_purposesHasBeenSet =
false;
118 bool m_attributeConfigurationHasBeenSet =
false;
bool PurposesHasBeenSet() const
UpdatePredefinedAttributeRequest & WithValues(ValuesT &&value)
bool InstanceIdHasBeenSet() const
UpdatePredefinedAttributeRequest & AddPurposes(PurposesT &&value)
const InputPredefinedAttributeConfiguration & GetAttributeConfiguration() const
const PredefinedAttributeValues & GetValues() const
void SetName(NameT &&value)
void SetInstanceId(InstanceIdT &&value)
UpdatePredefinedAttributeRequest & WithPurposes(PurposesT &&value)
const Aws::Vector< Aws::String > & GetPurposes() const
UpdatePredefinedAttributeRequest & WithName(NameT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdatePredefinedAttributeRequest & WithAttributeConfiguration(AttributeConfigurationT &&value)
bool AttributeConfigurationHasBeenSet() const
UpdatePredefinedAttributeRequest & WithInstanceId(InstanceIdT &&value)
void SetPurposes(PurposesT &&value)
virtual const char * GetServiceRequestName() const override
bool ValuesHasBeenSet() const
void SetAttributeConfiguration(AttributeConfigurationT &&value)
AWS_CONNECT_API UpdatePredefinedAttributeRequest()=default
const Aws::String & GetName() const
void SetValues(ValuesT &&value)
const Aws::String & GetInstanceId() const
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector