AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreatePackageRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Panorama
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 "CreatePackage"; }
32
34
35
39 inline const Aws::String& GetPackageName() const{ return m_packageName; }
40
44 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
45
49 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
50
54 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
55
59 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
60
64 inline CreatePackageRequest& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
65
69 inline CreatePackageRequest& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
70
74 inline CreatePackageRequest& WithPackageName(const char* value) { SetPackageName(value); return *this;}
75
76
80 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
81
85 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
86
90 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
91
95 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
96
100 inline CreatePackageRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
101
105 inline CreatePackageRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
106
110 inline CreatePackageRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
111
115 inline CreatePackageRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
116
120 inline CreatePackageRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
121
125 inline CreatePackageRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
126
130 inline CreatePackageRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
131
135 inline CreatePackageRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
136
140 inline CreatePackageRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
141
142 private:
143
144 Aws::String m_packageName;
145 bool m_packageNameHasBeenSet = false;
146
148 bool m_tagsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace Panorama
153} // namespace Aws
#define AWS_PANORAMA_API
void SetPackageName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreatePackageRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreatePackageRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePackageRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreatePackageRequest & WithPackageName(const Aws::String &value)
CreatePackageRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_PANORAMA_API Aws::String SerializePayload() const override
CreatePackageRequest & WithPackageName(const char *value)
CreatePackageRequest & AddTags(const char *key, Aws::String &&value)
CreatePackageRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreatePackageRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePackageRequest & WithPackageName(Aws::String &&value)
CreatePackageRequest & AddTags(const char *key, const char *value)
CreatePackageRequest & AddTags(const 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