AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLandingZoneRequest.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/controltower/ControlTowerRequest.h>
9#include <aws/core/utils/Document.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ControlTower
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONTROLTOWER_API CreateLandingZoneRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateLandingZone"; }
33
34 AWS_CONTROLTOWER_API Aws::String SerializePayload() const override;
35
36
38
44 inline Aws::Utils::DocumentView GetManifest() const{ return m_manifest; }
45 inline bool ManifestHasBeenSet() const { return m_manifestHasBeenSet; }
46 inline void SetManifest(const Aws::Utils::Document& value) { m_manifestHasBeenSet = true; m_manifest = value; }
47 inline void SetManifest(Aws::Utils::Document&& value) { m_manifestHasBeenSet = true; m_manifest = std::move(value); }
48 inline CreateLandingZoneRequest& WithManifest(const Aws::Utils::Document& value) { SetManifest(value); return *this;}
49 inline CreateLandingZoneRequest& WithManifest(Aws::Utils::Document&& value) { SetManifest(std::move(value)); return *this;}
51
53
56 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
57 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
58 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
59 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
60 inline CreateLandingZoneRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
61 inline CreateLandingZoneRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
62 inline CreateLandingZoneRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
63 inline CreateLandingZoneRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
64 inline CreateLandingZoneRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
65 inline CreateLandingZoneRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
66 inline CreateLandingZoneRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
67 inline CreateLandingZoneRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
68 inline CreateLandingZoneRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
70
72
75 inline const Aws::String& GetVersion() const{ return m_version; }
76 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
77 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
78 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
79 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
80 inline CreateLandingZoneRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
81 inline CreateLandingZoneRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
82 inline CreateLandingZoneRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
84 private:
85
86 Aws::Utils::Document m_manifest;
87 bool m_manifestHasBeenSet = false;
88
90 bool m_tagsHasBeenSet = false;
91
92 Aws::String m_version;
93 bool m_versionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ControlTower
98} // namespace Aws
CreateLandingZoneRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLandingZoneRequest & WithVersion(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLandingZoneRequest & AddTags(const char *key, Aws::String &&value)
CreateLandingZoneRequest & AddTags(Aws::String &&key, const char *value)
CreateLandingZoneRequest & WithVersion(const Aws::String &value)
CreateLandingZoneRequest & AddTags(const Aws::String &key, const Aws::String &value)
AWS_CONTROLTOWER_API Aws::String SerializePayload() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLandingZoneRequest & WithManifest(const Aws::Utils::Document &value)
CreateLandingZoneRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLandingZoneRequest & AddTags(const char *key, const char *value)
virtual const char * GetServiceRequestName() const override
CreateLandingZoneRequest & WithManifest(Aws::Utils::Document &&value)
CreateLandingZoneRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetManifest(const Aws::Utils::Document &value)
CreateLandingZoneRequest & WithVersion(const char *value)
CreateLandingZoneRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLandingZoneRequest & AddTags(Aws::String &&key, const Aws::String &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