7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/schemas/SchemasRequest.h>
10#include <aws/schemas/Schemas_EXPORTS.h>
41 template <
typename DescriptionT = Aws::String>
43 m_descriptionHasBeenSet =
true;
44 m_description = std::forward<DescriptionT>(value);
46 template <
typename DescriptionT = Aws::String>
59 template <
typename SourceArnT = Aws::String>
61 m_sourceArnHasBeenSet =
true;
62 m_sourceArn = std::forward<SourceArnT>(value);
64 template <
typename SourceArnT = Aws::String>
79 m_crossAccountHasBeenSet =
true;
80 m_crossAccount = value;
94 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 m_tagsHasBeenSet =
true;
97 m_tags = std::forward<TagsT>(value);
99 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 SetTags(std::forward<TagsT>(value));
104 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
106 m_tagsHasBeenSet =
true;
107 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
116 bool m_crossAccount{
false};
119 bool m_descriptionHasBeenSet =
false;
120 bool m_sourceArnHasBeenSet =
false;
121 bool m_crossAccountHasBeenSet =
false;
122 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