AWS SDK for C++  1.9.20
AWS SDK for C++
CreateDiscovererRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Schemas
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateDiscoverer"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetDescription() const{ return m_description; }
43 
47  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 
52  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
53 
57  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 
62  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 
67  inline CreateDiscovererRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
68 
72  inline CreateDiscovererRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 
77  inline CreateDiscovererRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78 
79 
83  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
84 
88  inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
89 
93  inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
94 
98  inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
99 
103  inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
104 
108  inline CreateDiscovererRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
109 
113  inline CreateDiscovererRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
114 
118  inline CreateDiscovererRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
119 
120 
124  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
125 
129  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 
134  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
135 
139  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
140 
144  inline CreateDiscovererRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
145 
149  inline CreateDiscovererRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
150 
154  inline CreateDiscovererRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
155 
159  inline CreateDiscovererRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
160 
164  inline CreateDiscovererRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
165 
169  inline CreateDiscovererRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
170 
174  inline CreateDiscovererRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
175 
179  inline CreateDiscovererRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
180 
184  inline CreateDiscovererRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
185 
186  private:
187 
188  Aws::String m_description;
189  bool m_descriptionHasBeenSet;
190 
191  Aws::String m_sourceArn;
192  bool m_sourceArnHasBeenSet;
193 
195  bool m_tagsHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace Schemas
200 } // namespace Aws
Aws::Schemas::Model::CreateDiscovererRequest::CreateDiscovererRequest
CreateDiscovererRequest()
Aws::Schemas::Model::CreateDiscovererRequest::AddTags
CreateDiscovererRequest & AddTags(const char *key, const char *value)
Definition: CreateDiscovererRequest.h:184
Aws::Schemas::Model::CreateDiscovererRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDiscovererRequest.h:42
Aws::Schemas::Model::CreateDiscovererRequest::WithDescription
CreateDiscovererRequest & WithDescription(Aws::String &&value)
Definition: CreateDiscovererRequest.h:72
Aws::Schemas::Model::CreateDiscovererRequest::AddTags
CreateDiscovererRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateDiscovererRequest.h:174
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
SchemasRequest.h
Aws::Schemas::Model::CreateDiscovererRequest::WithSourceArn
CreateDiscovererRequest & WithSourceArn(const char *value)
Definition: CreateDiscovererRequest.h:118
Aws::Schemas::Model::CreateDiscovererRequest::AddTags
CreateDiscovererRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateDiscovererRequest.h:154
Aws::Schemas::Model::CreateDiscovererRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDiscovererRequest.h:57
Aws::Schemas::Model::CreateDiscovererRequest::AddTags
CreateDiscovererRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateDiscovererRequest.h:159
Aws::Schemas::Model::CreateDiscovererRequest::WithDescription
CreateDiscovererRequest & WithDescription(const char *value)
Definition: CreateDiscovererRequest.h:77
Aws::Schemas::Model::CreateDiscovererRequest::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: CreateDiscovererRequest.h:83
Aws::Schemas::Model::CreateDiscovererRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDiscovererRequest.h:52
Aws::Schemas::Model::CreateDiscovererRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDiscovererRequest.h:134
Schemas_EXPORTS.h
Aws::Schemas::Model::CreateDiscovererRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateDiscovererRequest.h:62
Aws::Schemas::Model::CreateDiscovererRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::CreateDiscovererRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateDiscovererRequest.h:124
Aws::Schemas::Model::CreateDiscovererRequest::AddTags
CreateDiscovererRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateDiscovererRequest.h:169
Aws::Schemas::Model::CreateDiscovererRequest::WithSourceArn
CreateDiscovererRequest & WithSourceArn(Aws::String &&value)
Definition: CreateDiscovererRequest.h:113
Aws::Schemas::Model::CreateDiscovererRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDiscovererRequest.h:34
AWSString.h
Aws::Schemas::Model::CreateDiscovererRequest::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: CreateDiscovererRequest.h:93
Aws::Schemas::Model::CreateDiscovererRequest::WithDescription
CreateDiscovererRequest & WithDescription(const Aws::String &value)
Definition: CreateDiscovererRequest.h:67
Aws::Schemas::Model::CreateDiscovererRequest::AddTags
CreateDiscovererRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateDiscovererRequest.h:179
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::CreateDiscovererRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateDiscovererRequest.h:47
Aws::Schemas::Model::CreateDiscovererRequest
Definition: CreateDiscovererRequest.h:26
Aws::Schemas::Model::CreateDiscovererRequest::WithTags
CreateDiscovererRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDiscovererRequest.h:149
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::CreateDiscovererRequest::WithTags
CreateDiscovererRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDiscovererRequest.h:144
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::CreateDiscovererRequest::AddTags
CreateDiscovererRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateDiscovererRequest.h:164
Aws::Schemas::Model::CreateDiscovererRequest::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: CreateDiscovererRequest.h:98
Aws::Schemas::Model::CreateDiscovererRequest::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: CreateDiscovererRequest.h:88
Aws::Schemas::Model::CreateDiscovererRequest::WithSourceArn
CreateDiscovererRequest & WithSourceArn(const Aws::String &value)
Definition: CreateDiscovererRequest.h:108
AWSMap.h
Aws::Schemas::Model::CreateDiscovererRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDiscovererRequest.h:139
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Schemas::Model::CreateDiscovererRequest::SetSourceArn
void SetSourceArn(const char *value)
Definition: CreateDiscovererRequest.h:103
Aws::Schemas::Model::CreateDiscovererRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDiscovererRequest.h:129