7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
45 template<
typename DescriptionT = Aws::String>
46 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
47 template<
typename DescriptionT = Aws::String>
57 template<
typename SourceArnT = Aws::String>
58 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet =
true; m_sourceArn = std::forward<SourceArnT>(value); }
59 template<
typename SourceArnT = Aws::String>
70 inline void SetCrossAccount(
bool value) { m_crossAccountHasBeenSet =
true; m_crossAccount = value; }
80 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
82 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
86 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
92 bool m_descriptionHasBeenSet =
false;
95 bool m_sourceArnHasBeenSet =
false;
97 bool m_crossAccount{
false};
98 bool m_crossAccountHasBeenSet =
false;
101 bool m_tagsHasBeenSet =
false;
bool TagsHasBeenSet() const
bool CrossAccountHasBeenSet() const
CreateDiscovererRequest & WithTags(TagsT &&value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
CreateDiscovererRequest & WithCrossAccount(bool value)
const Aws::String & GetDescription() const
void SetCrossAccount(bool value)
virtual const char * GetServiceRequestName() const override
bool GetCrossAccount() const
void SetTags(TagsT &&value)
AWS_SCHEMAS_API CreateDiscovererRequest()=default
const Aws::String & GetSourceArn() const
CreateDiscovererRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDiscovererRequest & WithSourceArn(SourceArnT &&value)
bool SourceArnHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateDiscovererRequest & WithDescription(DescriptionT &&value)
void SetSourceArn(SourceArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(DescriptionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String