AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
54 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
55 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
56 inline CreateAppBundleRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
57 inline CreateAppBundleRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
58 inline CreateAppBundleRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
60
62
67 inline const Aws::String& GetCustomerManagedKeyIdentifier() const{ return m_customerManagedKeyIdentifier; }
68 inline bool CustomerManagedKeyIdentifierHasBeenSet() const { return m_customerManagedKeyIdentifierHasBeenSet; }
69 inline void SetCustomerManagedKeyIdentifier(const Aws::String& value) { m_customerManagedKeyIdentifierHasBeenSet = true; m_customerManagedKeyIdentifier = value; }
70 inline void SetCustomerManagedKeyIdentifier(Aws::String&& value) { m_customerManagedKeyIdentifierHasBeenSet = true; m_customerManagedKeyIdentifier = std::move(value); }
71 inline void SetCustomerManagedKeyIdentifier(const char* value) { m_customerManagedKeyIdentifierHasBeenSet = true; m_customerManagedKeyIdentifier.assign(value); }
76
78
82 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
83 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
84 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
85 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
86 inline CreateAppBundleRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
87 inline CreateAppBundleRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
88 inline CreateAppBundleRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
89 inline CreateAppBundleRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
91 private:
92
93 Aws::String m_clientToken;
94 bool m_clientTokenHasBeenSet = false;
95
96 Aws::String m_customerManagedKeyIdentifier;
97 bool m_customerManagedKeyIdentifierHasBeenSet = false;
98
99 Aws::Vector<Tag> m_tags;
100 bool m_tagsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace AppFabric
105} // namespace Aws
const Aws::String & GetCustomerManagedKeyIdentifier() const
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Vector< Tag > &value)
CreateAppBundleRequest & AddTags(const Tag &value)
CreateAppBundleRequest & WithTags(const Aws::Vector< Tag > &value)
CreateAppBundleRequest & WithCustomerManagedKeyIdentifier(const Aws::String &value)
CreateAppBundleRequest & WithCustomerManagedKeyIdentifier(Aws::String &&value)
CreateAppBundleRequest & WithClientToken(const char *value)
CreateAppBundleRequest & WithTags(Aws::Vector< Tag > &&value)
void SetCustomerManagedKeyIdentifier(const Aws::String &value)
CreateAppBundleRequest & WithClientToken(const Aws::String &value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
CreateAppBundleRequest & AddTags(Tag &&value)
CreateAppBundleRequest & WithClientToken(Aws::String &&value)
CreateAppBundleRequest & WithCustomerManagedKeyIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector