AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateSolNetworkInstanceRequest.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 CreateSolNetworkInstanceRequest() = 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 "CreateSolNetworkInstance"; }
32
33 AWS_TNB_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetNsDescription() const { return m_nsDescription; }
41 inline bool NsDescriptionHasBeenSet() const { return m_nsDescriptionHasBeenSet; }
42 template<typename NsDescriptionT = Aws::String>
43 void SetNsDescription(NsDescriptionT&& value) { m_nsDescriptionHasBeenSet = true; m_nsDescription = std::forward<NsDescriptionT>(value); }
44 template<typename NsDescriptionT = Aws::String>
45 CreateSolNetworkInstanceRequest& WithNsDescription(NsDescriptionT&& value) { SetNsDescription(std::forward<NsDescriptionT>(value)); return *this;}
47
49
52 inline const Aws::String& GetNsName() const { return m_nsName; }
53 inline bool NsNameHasBeenSet() const { return m_nsNameHasBeenSet; }
54 template<typename NsNameT = Aws::String>
55 void SetNsName(NsNameT&& value) { m_nsNameHasBeenSet = true; m_nsName = std::forward<NsNameT>(value); }
56 template<typename NsNameT = Aws::String>
57 CreateSolNetworkInstanceRequest& WithNsName(NsNameT&& value) { SetNsName(std::forward<NsNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetNsdInfoId() const { return m_nsdInfoId; }
65 inline bool NsdInfoIdHasBeenSet() const { return m_nsdInfoIdHasBeenSet; }
66 template<typename NsdInfoIdT = Aws::String>
67 void SetNsdInfoId(NsdInfoIdT&& value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId = std::forward<NsdInfoIdT>(value); }
68 template<typename NsdInfoIdT = Aws::String>
69 CreateSolNetworkInstanceRequest& WithNsdInfoId(NsdInfoIdT&& value) { SetNsdInfoId(std::forward<NsdInfoIdT>(value)); return *this;}
71
73
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
82 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 CreateSolNetworkInstanceRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
84 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
85 CreateSolNetworkInstanceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
86 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
87 }
89 private:
90
91 Aws::String m_nsDescription;
92 bool m_nsDescriptionHasBeenSet = false;
93
94 Aws::String m_nsName;
95 bool m_nsNameHasBeenSet = false;
96
97 Aws::String m_nsdInfoId;
98 bool m_nsdInfoIdHasBeenSet = false;
99
101 bool m_tagsHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace tnb
106} // namespace Aws
AWS_TNB_API Aws::String SerializePayload() const override
CreateSolNetworkInstanceRequest & WithTags(TagsT &&value)
CreateSolNetworkInstanceRequest & WithNsDescription(NsDescriptionT &&value)
CreateSolNetworkInstanceRequest & WithNsName(NsNameT &&value)
CreateSolNetworkInstanceRequest & WithNsdInfoId(NsdInfoIdT &&value)
CreateSolNetworkInstanceRequest & AddTags(TagsKeyT &&key, TagsValueT &&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