AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePackageRequest.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/PanoramaRequest.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 Panorama
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PANORAMA_API CreatePackageRequest();
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
33 AWS_PANORAMA_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetPackageName() const{ return m_packageName; }
41 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
42 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
43 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
44 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
45 inline CreatePackageRequest& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
46 inline CreatePackageRequest& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
47 inline CreatePackageRequest& WithPackageName(const char* value) { SetPackageName(value); return *this;}
49
51
54 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
55 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
56 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
57 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
58 inline CreatePackageRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
59 inline CreatePackageRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
60 inline CreatePackageRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
61 inline CreatePackageRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
62 inline CreatePackageRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
63 inline CreatePackageRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
64 inline CreatePackageRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
65 inline CreatePackageRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
66 inline CreatePackageRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
68 private:
69
70 Aws::String m_packageName;
71 bool m_packageNameHasBeenSet = false;
72
74 bool m_tagsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Panorama
79} // namespace Aws
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