AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateSolFunctionPackageRequest.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace tnb
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TNB_API CreateSolFunctionPackageRequest() = 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 "CreateSolFunctionPackage"; }
32
33 AWS_TNB_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
43 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
44 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
45 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
46 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
47 CreateSolFunctionPackageRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
48 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
49 CreateSolFunctionPackageRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
50 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
51 }
53 private:
54
56 bool m_tagsHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace tnb
61} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSolFunctionPackageRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateSolFunctionPackageRequest & WithTags(TagsT &&value)
AWS_TNB_API Aws::String SerializePayload() const override
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