AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_TNB_API TerminateSolNetworkInstanceRequest() = default;
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 template<typename NsInstanceIdT = Aws::String>
43 void SetNsInstanceId(NsInstanceIdT&& value) { m_nsInstanceIdHasBeenSet = true; m_nsInstanceId = std::forward<NsInstanceIdT>(value); }
44 template<typename NsInstanceIdT = Aws::String>
45 TerminateSolNetworkInstanceRequest& WithNsInstanceId(NsInstanceIdT&& value) { SetNsInstanceId(std::forward<NsInstanceIdT>(value)); return *this;}
47
49
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 TerminateSolNetworkInstanceRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
62 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
63 TerminateSolNetworkInstanceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
64 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
65 }
67 private:
68
69 Aws::String m_nsInstanceId;
70 bool m_nsInstanceIdHasBeenSet = false;
71
73 bool m_tagsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace tnb
78} // namespace Aws
TerminateSolNetworkInstanceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
TerminateSolNetworkInstanceRequest & WithNsInstanceId(NsInstanceIdT &&value)
AWS_TNB_API Aws::String SerializePayload() const override
TerminateSolNetworkInstanceRequest & WithTags(TagsT &&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