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; }
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
83 inline void SetSource(
const Source& value) { m_sourceHasBeenSet =
true; m_source = value; }
84 inline void SetSource(
Source&& value) { m_sourceHasBeenSet =
true; m_source = std::move(value); }
105 bool m_enabledHasBeenSet =
false;
108 bool m_nameHasBeenSet =
false;
111 bool m_notificationSettingsHasBeenSet =
false;
114 bool m_sourceHasBeenSet =
false;
117 bool m_tagsHasBeenSet =
false;
CreateTrustAnchorRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTrustAnchorRequest & WithSource(Source &&value)
CreateTrustAnchorRequest & WithNotificationSettings(const Aws::Vector< NotificationSetting > &value)
AWS_ROLESANYWHERE_API CreateTrustAnchorRequest()
const Aws::Vector< Tag > & GetTags() const
CreateTrustAnchorRequest & WithName(const char *value)
void SetName(const Aws::String &value)
CreateTrustAnchorRequest & AddTags(const Tag &value)
CreateTrustAnchorRequest & WithName(Aws::String &&value)
bool SourceHasBeenSet() const
void SetName(Aws::String &&value)
void SetNotificationSettings(Aws::Vector< NotificationSetting > &&value)
virtual const char * GetServiceRequestName() const override
bool NotificationSettingsHasBeenSet() const
const Aws::Vector< NotificationSetting > & GetNotificationSettings() const
CreateTrustAnchorRequest & AddTags(Tag &&value)
CreateTrustAnchorRequest & AddNotificationSettings(NotificationSetting &&value)
CreateTrustAnchorRequest & WithNotificationSettings(Aws::Vector< NotificationSetting > &&value)
void SetName(const char *value)
void SetEnabled(bool value)
void SetSource(const Source &value)
bool TagsHasBeenSet() const
const Aws::String & GetName() const
CreateTrustAnchorRequest & AddNotificationSettings(const NotificationSetting &value)
bool EnabledHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetNotificationSettings(const Aws::Vector< NotificationSetting > &value)
CreateTrustAnchorRequest & WithTags(Aws::Vector< Tag > &&value)
CreateTrustAnchorRequest & WithEnabled(bool value)
const Source & GetSource() const
CreateTrustAnchorRequest & WithSource(const Source &value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
void SetSource(Source &&value)
CreateTrustAnchorRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector