AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetNsDescription(const Aws::String& value) { m_nsDescriptionHasBeenSet = true; m_nsDescription = value; }
43 inline void SetNsDescription(Aws::String&& value) { m_nsDescriptionHasBeenSet = true; m_nsDescription = std::move(value); }
44 inline void SetNsDescription(const char* value) { m_nsDescriptionHasBeenSet = true; m_nsDescription.assign(value); }
46 inline CreateSolNetworkInstanceRequest& WithNsDescription(Aws::String&& value) { SetNsDescription(std::move(value)); return *this;}
47 inline CreateSolNetworkInstanceRequest& WithNsDescription(const char* value) { SetNsDescription(value); return *this;}
49
51
54 inline const Aws::String& GetNsName() const{ return m_nsName; }
55 inline bool NsNameHasBeenSet() const { return m_nsNameHasBeenSet; }
56 inline void SetNsName(const Aws::String& value) { m_nsNameHasBeenSet = true; m_nsName = value; }
57 inline void SetNsName(Aws::String&& value) { m_nsNameHasBeenSet = true; m_nsName = std::move(value); }
58 inline void SetNsName(const char* value) { m_nsNameHasBeenSet = true; m_nsName.assign(value); }
59 inline CreateSolNetworkInstanceRequest& WithNsName(const Aws::String& value) { SetNsName(value); return *this;}
60 inline CreateSolNetworkInstanceRequest& WithNsName(Aws::String&& value) { SetNsName(std::move(value)); return *this;}
61 inline CreateSolNetworkInstanceRequest& WithNsName(const char* value) { SetNsName(value); return *this;}
63
65
68 inline const Aws::String& GetNsdInfoId() const{ return m_nsdInfoId; }
69 inline bool NsdInfoIdHasBeenSet() const { return m_nsdInfoIdHasBeenSet; }
70 inline void SetNsdInfoId(const Aws::String& value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId = value; }
71 inline void SetNsdInfoId(Aws::String&& value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId = std::move(value); }
72 inline void SetNsdInfoId(const char* value) { m_nsdInfoIdHasBeenSet = true; m_nsdInfoId.assign(value); }
73 inline CreateSolNetworkInstanceRequest& WithNsdInfoId(const Aws::String& value) { SetNsdInfoId(value); return *this;}
74 inline CreateSolNetworkInstanceRequest& WithNsdInfoId(Aws::String&& value) { SetNsdInfoId(std::move(value)); return *this;}
75 inline CreateSolNetworkInstanceRequest& WithNsdInfoId(const char* value) { SetNsdInfoId(value); return *this;}
77
79
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
85 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
86 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
87 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
89 inline CreateSolNetworkInstanceRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
90 inline CreateSolNetworkInstanceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
91 inline CreateSolNetworkInstanceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
92 inline CreateSolNetworkInstanceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateSolNetworkInstanceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
94 inline CreateSolNetworkInstanceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline CreateSolNetworkInstanceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
96 inline CreateSolNetworkInstanceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98 private:
99
100 Aws::String m_nsDescription;
101 bool m_nsDescriptionHasBeenSet = false;
102
103 Aws::String m_nsName;
104 bool m_nsNameHasBeenSet = false;
105
106 Aws::String m_nsdInfoId;
107 bool m_nsdInfoIdHasBeenSet = false;
108
110 bool m_tagsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace tnb
115} // namespace Aws
CreateSolNetworkInstanceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_TNB_API Aws::String SerializePayload() const override
CreateSolNetworkInstanceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSolNetworkInstanceRequest & WithNsdInfoId(Aws::String &&value)
CreateSolNetworkInstanceRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSolNetworkInstanceRequest & AddTags(const char *key, const char *value)
CreateSolNetworkInstanceRequest & WithNsName(Aws::String &&value)
CreateSolNetworkInstanceRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateSolNetworkInstanceRequest & WithNsName(const char *value)
CreateSolNetworkInstanceRequest & WithNsdInfoId(const char *value)
CreateSolNetworkInstanceRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSolNetworkInstanceRequest & AddTags(Aws::String &&key, const char *value)
CreateSolNetworkInstanceRequest & WithNsName(const Aws::String &value)
CreateSolNetworkInstanceRequest & AddTags(const char *key, Aws::String &&value)
CreateSolNetworkInstanceRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateSolNetworkInstanceRequest & WithNsDescription(const char *value)
CreateSolNetworkInstanceRequest & WithNsDescription(Aws::String &&value)
CreateSolNetworkInstanceRequest & WithNsdInfoId(const Aws::String &value)
CreateSolNetworkInstanceRequest & WithNsDescription(const 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