7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/rolesanywhere/RolesAnywhereRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rolesanywhere/model/Source.h>
12#include <aws/rolesanywhere/model/NotificationSetting.h>
13#include <aws/rolesanywhere/model/Tag.h>
18namespace RolesAnywhere
45 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
67 template<
typename NotificationSettingsT = Aws::Vector<NotificationSetting>>
68 void SetNotificationSettings(NotificationSettingsT&& value) { m_notificationSettingsHasBeenSet =
true; m_notificationSettings = std::forward<NotificationSettingsT>(value); }
69 template<
typename NotificationSettingsT = Aws::Vector<NotificationSetting>>
71 template<
typename NotificationSettingsT = NotificationSetting>
81 template<
typename SourceT = Source>
82 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
83 template<
typename SourceT = Source>
93 template<
typename TagsT = Aws::Vector<Tag>>
94 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
95 template<
typename TagsT = Aws::Vector<Tag>>
97 template<
typename TagsT = Tag>
102 bool m_enabled{
false};
103 bool m_enabledHasBeenSet =
false;
106 bool m_nameHasBeenSet =
false;
109 bool m_notificationSettingsHasBeenSet =
false;
112 bool m_sourceHasBeenSet =
false;
115 bool m_tagsHasBeenSet =
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