AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDiscovererRequest.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Schemas
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_SCHEMAS_API CreateDiscovererRequest();
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_SCHEMAS_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetDescription() const{ return m_description; }
44 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
46 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
47 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
48 inline CreateDiscovererRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
49 inline CreateDiscovererRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
50 inline CreateDiscovererRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
52
54
57 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
58 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
59 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
60 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
61 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
62 inline CreateDiscovererRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
63 inline CreateDiscovererRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
64 inline CreateDiscovererRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
66
68
72 inline bool GetCrossAccount() const{ return m_crossAccount; }
73 inline bool CrossAccountHasBeenSet() const { return m_crossAccountHasBeenSet; }
74 inline void SetCrossAccount(bool value) { m_crossAccountHasBeenSet = true; m_crossAccount = value; }
75 inline CreateDiscovererRequest& WithCrossAccount(bool value) { SetCrossAccount(value); return *this;}
77
79
82 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
83 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
84 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
85 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
86 inline CreateDiscovererRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
87 inline CreateDiscovererRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
88 inline CreateDiscovererRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
89 inline CreateDiscovererRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
90 inline CreateDiscovererRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
91 inline CreateDiscovererRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
92 inline CreateDiscovererRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateDiscovererRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
94 inline CreateDiscovererRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
96 private:
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100
101 Aws::String m_sourceArn;
102 bool m_sourceArnHasBeenSet = false;
103
104 bool m_crossAccount;
105 bool m_crossAccountHasBeenSet = false;
106
108 bool m_tagsHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Schemas
113} // namespace Aws
CreateDiscovererRequest & WithDescription(const char *value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
CreateDiscovererRequest & WithCrossAccount(bool value)
CreateDiscovererRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDiscovererRequest & WithSourceArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateDiscovererRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDiscovererRequest & AddTags(const char *key, Aws::String &&value)
CreateDiscovererRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDiscovererRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDiscovererRequest & WithSourceArn(Aws::String &&value)
CreateDiscovererRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateDiscovererRequest & AddTags(const char *key, const char *value)
CreateDiscovererRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDiscovererRequest & WithSourceArn(const char *value)
CreateDiscovererRequest & WithDescription(Aws::String &&value)
CreateDiscovererRequest & WithDescription(const Aws::String &value)
CreateDiscovererRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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