AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InstantiateSolNetworkInstanceRequest.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/tnb/TnbRequest.h>
9#include <aws/core/utils/Document.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace tnb
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_TNB_API InstantiateSolNetworkInstanceRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "InstantiateSolNetworkInstance"; }
37
38 AWS_TNB_API Aws::String SerializePayload() const override;
39
40 AWS_TNB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline Aws::Utils::DocumentView GetAdditionalParamsForNs() const { return m_additionalParamsForNs; }
48 inline bool AdditionalParamsForNsHasBeenSet() const { return m_additionalParamsForNsHasBeenSet; }
49 template<typename AdditionalParamsForNsT = Aws::Utils::Document>
50 void SetAdditionalParamsForNs(AdditionalParamsForNsT&& value) { m_additionalParamsForNsHasBeenSet = true; m_additionalParamsForNs = std::forward<AdditionalParamsForNsT>(value); }
51 template<typename AdditionalParamsForNsT = Aws::Utils::Document>
52 InstantiateSolNetworkInstanceRequest& WithAdditionalParamsForNs(AdditionalParamsForNsT&& value) { SetAdditionalParamsForNs(std::forward<AdditionalParamsForNsT>(value)); return *this;}
54
56
62 inline bool GetDryRun() const { return m_dryRun; }
63 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
64 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
65 inline InstantiateSolNetworkInstanceRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
67
69
72 inline const Aws::String& GetNsInstanceId() const { return m_nsInstanceId; }
73 inline bool NsInstanceIdHasBeenSet() const { return m_nsInstanceIdHasBeenSet; }
74 template<typename NsInstanceIdT = Aws::String>
75 void SetNsInstanceId(NsInstanceIdT&& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = std::forward<NsInstanceIdT>(value); }
76 template<typename NsInstanceIdT = Aws::String>
77 InstantiateSolNetworkInstanceRequest& WithNsInstanceId(NsInstanceIdT&& value) { SetNsInstanceId(std::forward<NsInstanceIdT>(value)); return *this;}
79
81
88 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
89 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
90 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
91 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
92 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 InstantiateSolNetworkInstanceRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
94 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
95 InstantiateSolNetworkInstanceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
96 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
97 }
99 private:
100
101 Aws::Utils::Document m_additionalParamsForNs;
102 bool m_additionalParamsForNsHasBeenSet = false;
103
104 bool m_dryRun{false};
105 bool m_dryRunHasBeenSet = false;
106
107 Aws::String m_nsInstanceId;
108 bool m_nsInstanceIdHasBeenSet = false;
109
111 bool m_tagsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace tnb
116} // namespace Aws
InstantiateSolNetworkInstanceRequest & WithAdditionalParamsForNs(AdditionalParamsForNsT &&value)
InstantiateSolNetworkInstanceRequest & WithNsInstanceId(NsInstanceIdT &&value)
InstantiateSolNetworkInstanceRequest & WithDryRun(bool value)
AWS_TNB_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_TNB_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
InstantiateSolNetworkInstanceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
InstantiateSolNetworkInstanceRequest & WithTags(TagsT &&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