AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateAppBundleRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/AppFabricRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/appfabric/model/Tag.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace AppFabric
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_APPFABRIC_API CreateAppBundleRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateAppBundle"; }
34
35 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
36
37
39
51 inline const Aws::String& GetClientToken() const { return m_clientToken; }
52 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
53 template<typename ClientTokenT = Aws::String>
54 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
55 template<typename ClientTokenT = Aws::String>
56 CreateAppBundleRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
58
60
65 inline const Aws::String& GetCustomerManagedKeyIdentifier() const { return m_customerManagedKeyIdentifier; }
66 inline bool CustomerManagedKeyIdentifierHasBeenSet() const { return m_customerManagedKeyIdentifierHasBeenSet; }
67 template<typename CustomerManagedKeyIdentifierT = Aws::String>
68 void SetCustomerManagedKeyIdentifier(CustomerManagedKeyIdentifierT&& value) { m_customerManagedKeyIdentifierHasBeenSet = true; m_customerManagedKeyIdentifier = std::forward<CustomerManagedKeyIdentifierT>(value); }
69 template<typename CustomerManagedKeyIdentifierT = Aws::String>
70 CreateAppBundleRequest& WithCustomerManagedKeyIdentifier(CustomerManagedKeyIdentifierT&& value) { SetCustomerManagedKeyIdentifier(std::forward<CustomerManagedKeyIdentifierT>(value)); return *this;}
72
74
78 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 template<typename TagsT = Aws::Vector<Tag>>
81 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
82 template<typename TagsT = Aws::Vector<Tag>>
83 CreateAppBundleRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
84 template<typename TagsT = Tag>
85 CreateAppBundleRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
87 private:
88
90 bool m_clientTokenHasBeenSet = true;
91
92 Aws::String m_customerManagedKeyIdentifier;
93 bool m_customerManagedKeyIdentifierHasBeenSet = false;
94
95 Aws::Vector<Tag> m_tags;
96 bool m_tagsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace AppFabric
101} // 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