AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TerminateSolNetworkInstanceRequest.h
1
6#pragma once
7#include <aws/tnb/Tnb_EXPORTS.h>
8#include <aws/tnb/TnbRequest.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 tnb
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "TerminateSolNetworkInstance"; }
32
33 AWS_TNB_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetNsInstanceId() const{ return m_nsInstanceId; }
41 inline bool NsInstanceIdHasBeenSet() const { return m_nsInstanceIdHasBeenSet; }
42 inline void SetNsInstanceId(const Aws::String& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = value; }
43 inline void SetNsInstanceId(Aws::String&& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = std::move(value); }
44 inline void SetNsInstanceId(const char* value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId.assign(value); }
46 inline TerminateSolNetworkInstanceRequest& WithNsInstanceId(Aws::String&& value) { SetNsInstanceId(std::move(value)); return *this;}
47 inline TerminateSolNetworkInstanceRequest& WithNsInstanceId(const char* value) { SetNsInstanceId(value); return *this;}
49
51
58 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
59 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
60 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
61 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
64 inline TerminateSolNetworkInstanceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
65 inline TerminateSolNetworkInstanceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
66 inline TerminateSolNetworkInstanceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
67 inline TerminateSolNetworkInstanceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
68 inline TerminateSolNetworkInstanceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
69 inline TerminateSolNetworkInstanceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
70 inline TerminateSolNetworkInstanceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
72 private:
73
74 Aws::String m_nsInstanceId;
75 bool m_nsInstanceIdHasBeenSet = false;
76
78 bool m_tagsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace tnb
83} // namespace Aws
TerminateSolNetworkInstanceRequest & AddTags(Aws::String &&key, const Aws::String &value)
TerminateSolNetworkInstanceRequest & AddTags(const char *key, const char *value)
TerminateSolNetworkInstanceRequest & AddTags(const Aws::String &key, const Aws::String &value)
TerminateSolNetworkInstanceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
TerminateSolNetworkInstanceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
TerminateSolNetworkInstanceRequest & WithNsInstanceId(const Aws::String &value)
TerminateSolNetworkInstanceRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
TerminateSolNetworkInstanceRequest & AddTags(Aws::String &&key, const char *value)
AWS_TNB_API Aws::String SerializePayload() const override
TerminateSolNetworkInstanceRequest & AddTags(Aws::String &&key, Aws::String &&value)
TerminateSolNetworkInstanceRequest & WithNsInstanceId(Aws::String &&value)
TerminateSolNetworkInstanceRequest & WithNsInstanceId(const char *value)
TerminateSolNetworkInstanceRequest & AddTags(const char *key, 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