7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rolesanywhere/RolesAnywhereRequest.h>
10#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
11#include <aws/rolesanywhere/model/NotificationSetting.h>
12#include <aws/rolesanywhere/model/Source.h>
13#include <aws/rolesanywhere/model/Tag.h>
18namespace RolesAnywhere {
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename SourceT = Source>
61 m_sourceHasBeenSet =
true;
62 m_source = std::forward<SourceT>(value);
64 template <
typename SourceT = Source>
78 m_enabledHasBeenSet =
true;
93 template <
typename TagsT = Aws::Vector<Tag>>
95 m_tagsHasBeenSet =
true;
96 m_tags = std::forward<TagsT>(value);
98 template <
typename TagsT = Aws::Vector<Tag>>
100 SetTags(std::forward<TagsT>(value));
103 template <
typename TagsT = Tag>
105 m_tagsHasBeenSet =
true;
106 m_tags.emplace_back(std::forward<TagsT>(value));
117 template <
typename NotificationSettingsT = Aws::Vector<NotificationSetting>>
119 m_notificationSettingsHasBeenSet =
true;
120 m_notificationSettings = std::forward<NotificationSettingsT>(value);
122 template <
typename NotificationSettingsT = Aws::Vector<NotificationSetting>>
127 template <
typename NotificationSettingsT = NotificationSetting>
129 m_notificationSettingsHasBeenSet =
true;
130 m_notificationSettings.emplace_back(std::forward<NotificationSettingsT>(value));
139 bool m_enabled{
false};
144 bool m_nameHasBeenSet =
false;
145 bool m_sourceHasBeenSet =
false;
146 bool m_enabledHasBeenSet =
false;
147 bool m_tagsHasBeenSet =
false;
148 bool m_notificationSettingsHasBeenSet =
false;
AWS_ROLESANYWHERE_API CreateTrustAnchorRequest()=default
const Aws::Vector< Tag > & GetTags() const
bool SourceHasBeenSet() const
CreateTrustAnchorRequest & AddTags(TagsT &&value)
CreateTrustAnchorRequest & AddNotificationSettings(NotificationSettingsT &&value)
virtual const char * GetServiceRequestName() const override
bool NotificationSettingsHasBeenSet() const
const Aws::Vector< NotificationSetting > & GetNotificationSettings() const
CreateTrustAnchorRequest & WithSource(SourceT &&value)
void SetEnabled(bool value)
void SetNotificationSettings(NotificationSettingsT &&value)
CreateTrustAnchorRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetName() const
bool EnabledHasBeenSet() const
CreateTrustAnchorRequest & WithName(NameT &&value)
CreateTrustAnchorRequest & WithEnabled(bool value)
const Source & GetSource() const
CreateTrustAnchorRequest & WithNotificationSettings(NotificationSettingsT &&value)
AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
void SetSource(SourceT &&value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector