AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAdditionalParamsForNs(const Aws::Utils::Document& value) { m_additionalParamsForNsHasBeenSet = true; m_additionalParamsForNs = value; }
50 inline void SetAdditionalParamsForNs(Aws::Utils::Document&& value) { m_additionalParamsForNsHasBeenSet = true; m_additionalParamsForNs = std::move(value); }
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 inline void SetNsInstanceId(const Aws::String& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = value; }
75 inline void SetNsInstanceId(Aws::String&& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = std::move(value); }
76 inline void SetNsInstanceId(const char* value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId.assign(value); }
78 inline InstantiateSolNetworkInstanceRequest& WithNsInstanceId(Aws::String&& value) { SetNsInstanceId(std::move(value)); return *this;}
79 inline InstantiateSolNetworkInstanceRequest& WithNsInstanceId(const char* value) { SetNsInstanceId(value); return *this;}
81
83
90 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
91 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
92 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
93 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
96 inline InstantiateSolNetworkInstanceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
97 inline InstantiateSolNetworkInstanceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
98 inline InstantiateSolNetworkInstanceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
99 inline InstantiateSolNetworkInstanceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
100 inline InstantiateSolNetworkInstanceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
101 inline InstantiateSolNetworkInstanceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
102 inline InstantiateSolNetworkInstanceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
104 private:
105
106 Aws::Utils::Document m_additionalParamsForNs;
107 bool m_additionalParamsForNsHasBeenSet = false;
108
109 bool m_dryRun;
110 bool m_dryRunHasBeenSet = false;
111
112 Aws::String m_nsInstanceId;
113 bool m_nsInstanceIdHasBeenSet = false;
114
116 bool m_tagsHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace tnb
121} // namespace Aws
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
InstantiateSolNetworkInstanceRequest & AddTags(const Aws::String &key, const Aws::String &value)
InstantiateSolNetworkInstanceRequest & WithNsInstanceId(Aws::String &&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(Aws::String &&key, const Aws::String &value)
InstantiateSolNetworkInstanceRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
InstantiateSolNetworkInstanceRequest & AddTags(Aws::String &&key, const char *value)
InstantiateSolNetworkInstanceRequest & AddTags(const Aws::String &key, Aws::String &&value)
InstantiateSolNetworkInstanceRequest & WithAdditionalParamsForNs(Aws::Utils::Document &&value)
InstantiateSolNetworkInstanceRequest & WithNsInstanceId(const Aws::String &value)
InstantiateSolNetworkInstanceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
InstantiateSolNetworkInstanceRequest & WithAdditionalParamsForNs(const Aws::Utils::Document &value)
InstantiateSolNetworkInstanceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
InstantiateSolNetworkInstanceRequest & AddTags(const char *key, const char *value)
InstantiateSolNetworkInstanceRequest & WithNsInstanceId(const char *value)
InstantiateSolNetworkInstanceRequest & AddTags(Aws::String &&key, 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