7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/PredefinedAttributeConfiguration.h>
9#include <aws/connect/model/PredefinedAttributeValues.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
62 template <
typename ValuesT = PredefinedAttributeValues>
64 m_valuesHasBeenSet =
true;
65 m_values = std::forward<ValuesT>(value);
67 template <
typename ValuesT = PredefinedAttributeValues>
81 template <
typename PurposesT = Aws::Vector<Aws::String>>
83 m_purposesHasBeenSet =
true;
84 m_purposes = std::forward<PurposesT>(value);
86 template <
typename PurposesT = Aws::Vector<Aws::String>>
91 template <
typename PurposesT = Aws::String>
93 m_purposesHasBeenSet =
true;
94 m_purposes.emplace_back(std::forward<PurposesT>(value));
107 template <
typename AttributeConfigurationT = PredefinedAttributeConfiguration>
109 m_attributeConfigurationHasBeenSet =
true;
110 m_attributeConfiguration = std::forward<AttributeConfigurationT>(value);
112 template <
typename AttributeConfigurationT = PredefinedAttributeConfiguration>
125 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
127 m_lastModifiedTimeHasBeenSet =
true;
128 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
130 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
143 template <
typename LastModifiedRegionT = Aws::String>
145 m_lastModifiedRegionHasBeenSet =
true;
146 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
148 template <
typename LastModifiedRegionT = Aws::String>
166 bool m_nameHasBeenSet =
false;
167 bool m_valuesHasBeenSet =
false;
168 bool m_purposesHasBeenSet =
false;
169 bool m_attributeConfigurationHasBeenSet =
false;
170 bool m_lastModifiedTimeHasBeenSet =
false;
171 bool m_lastModifiedRegionHasBeenSet =
false;
void SetPurposes(PurposesT &&value)
const Aws::String & GetName() const
PredefinedAttribute & WithLastModifiedRegion(LastModifiedRegionT &&value)
bool LastModifiedRegionHasBeenSet() const
PredefinedAttribute & WithName(NameT &&value)
bool LastModifiedTimeHasBeenSet() const
AWS_CONNECT_API PredefinedAttribute()=default
bool ValuesHasBeenSet() const
void SetLastModifiedRegion(LastModifiedRegionT &&value)
PredefinedAttribute & WithValues(ValuesT &&value)
AWS_CONNECT_API PredefinedAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool AttributeConfigurationHasBeenSet() const
const PredefinedAttributeValues & GetValues() const
const Aws::String & GetLastModifiedRegion() const
PredefinedAttribute & AddPurposes(PurposesT &&value)
PredefinedAttribute & WithAttributeConfiguration(AttributeConfigurationT &&value)
PredefinedAttribute & WithPurposes(PurposesT &&value)
const PredefinedAttributeConfiguration & GetAttributeConfiguration() const
bool NameHasBeenSet() const
AWS_CONNECT_API PredefinedAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
PredefinedAttribute & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetValues(ValuesT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetPurposes() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetName(NameT &&value)
bool PurposesHasBeenSet() const
void SetAttributeConfiguration(AttributeConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue