AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateAppBundleRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabricRequest.h>
8#include <aws/appfabric/AppFabric_EXPORTS.h>
9#include <aws/appfabric/model/Tag.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace AppFabric {
18namespace Model {
19
23 public:
24 AWS_APPFABRIC_API CreateAppBundleRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateAppBundle"; }
31
32 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
33
35
47 inline const Aws::String& GetClientToken() const { return m_clientToken; }
48 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
49 template <typename ClientTokenT = Aws::String>
50 void SetClientToken(ClientTokenT&& value) {
51 m_clientTokenHasBeenSet = true;
52 m_clientToken = std::forward<ClientTokenT>(value);
53 }
54 template <typename ClientTokenT = Aws::String>
55 CreateAppBundleRequest& WithClientToken(ClientTokenT&& value) {
56 SetClientToken(std::forward<ClientTokenT>(value));
57 return *this;
58 }
60
62
67 inline const Aws::String& GetCustomerManagedKeyIdentifier() const { return m_customerManagedKeyIdentifier; }
68 inline bool CustomerManagedKeyIdentifierHasBeenSet() const { return m_customerManagedKeyIdentifierHasBeenSet; }
69 template <typename CustomerManagedKeyIdentifierT = Aws::String>
70 void SetCustomerManagedKeyIdentifier(CustomerManagedKeyIdentifierT&& value) {
71 m_customerManagedKeyIdentifierHasBeenSet = true;
72 m_customerManagedKeyIdentifier = std::forward<CustomerManagedKeyIdentifierT>(value);
73 }
74 template <typename CustomerManagedKeyIdentifierT = Aws::String>
75 CreateAppBundleRequest& WithCustomerManagedKeyIdentifier(CustomerManagedKeyIdentifierT&& value) {
76 SetCustomerManagedKeyIdentifier(std::forward<CustomerManagedKeyIdentifierT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
87 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
88 template <typename TagsT = Aws::Vector<Tag>>
89 void SetTags(TagsT&& value) {
90 m_tagsHasBeenSet = true;
91 m_tags = std::forward<TagsT>(value);
92 }
93 template <typename TagsT = Aws::Vector<Tag>>
95 SetTags(std::forward<TagsT>(value));
96 return *this;
97 }
98 template <typename TagsT = Tag>
100 m_tagsHasBeenSet = true;
101 m_tags.emplace_back(std::forward<TagsT>(value));
102 return *this;
103 }
105 private:
107
108 Aws::String m_customerManagedKeyIdentifier;
109
110 Aws::Vector<Tag> m_tags;
111 bool m_clientTokenHasBeenSet = true;
112 bool m_customerManagedKeyIdentifierHasBeenSet = false;
113 bool m_tagsHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace AppFabric
118} // namespace Aws
CreateAppBundleRequest & WithCustomerManagedKeyIdentifier(CustomerManagedKeyIdentifierT &&value)
const Aws::String & GetCustomerManagedKeyIdentifier() const
virtual const char * GetServiceRequestName() const override
CreateAppBundleRequest & WithTags(TagsT &&value)
CreateAppBundleRequest & WithClientToken(ClientTokenT &&value)
CreateAppBundleRequest & AddTags(TagsT &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
AWS_APPFABRIC_API CreateAppBundleRequest()=default
void SetCustomerManagedKeyIdentifier(CustomerManagedKeyIdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector