AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ManifestT = Aws::Utils::Document>
47 void SetManifest(ManifestT&& value) { m_manifestHasBeenSet = true; m_manifest = std::forward<ManifestT>(value); }
48 template<typename ManifestT = Aws::Utils::Document>
49 CreateLandingZoneRequest& WithManifest(ManifestT&& value) { SetManifest(std::forward<ManifestT>(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 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
59 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
60 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
61 CreateLandingZoneRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
62 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
63 CreateLandingZoneRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
64 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
65 }
67
69
72 inline const Aws::String& GetVersion() const { return m_version; }
73 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
74 template<typename VersionT = Aws::String>
75 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
76 template<typename VersionT = Aws::String>
77 CreateLandingZoneRequest& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
79 private:
80
81 Aws::Utils::Document m_manifest;
82 bool m_manifestHasBeenSet = false;
83
85 bool m_tagsHasBeenSet = false;
86
87 Aws::String m_version;
88 bool m_versionHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ControlTower
93} // namespace Aws
CreateLandingZoneRequest & WithManifest(ManifestT &&value)
AWS_CONTROLTOWER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLandingZoneRequest & WithTags(TagsT &&value)
AWS_CONTROLTOWER_API CreateLandingZoneRequest()=default
CreateLandingZoneRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateLandingZoneRequest & WithVersion(VersionT &&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