AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AppBundle.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppFabric {
20namespace Model {
21
27class AppBundle {
28 public:
29 AWS_APPFABRIC_API AppBundle() = default;
30 AWS_APPFABRIC_API AppBundle(Aws::Utils::Json::JsonView jsonValue);
31 AWS_APPFABRIC_API AppBundle& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
46 AppBundle& WithArn(ArnT&& value) {
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetCustomerManagedKeyArn() const { return m_customerManagedKeyArn; }
58 inline bool CustomerManagedKeyArnHasBeenSet() const { return m_customerManagedKeyArnHasBeenSet; }
59 template <typename CustomerManagedKeyArnT = Aws::String>
60 void SetCustomerManagedKeyArn(CustomerManagedKeyArnT&& value) {
61 m_customerManagedKeyArnHasBeenSet = true;
62 m_customerManagedKeyArn = std::forward<CustomerManagedKeyArnT>(value);
63 }
64 template <typename CustomerManagedKeyArnT = Aws::String>
65 AppBundle& WithCustomerManagedKeyArn(CustomerManagedKeyArnT&& value) {
66 SetCustomerManagedKeyArn(std::forward<CustomerManagedKeyArnT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_arn;
72
73 Aws::String m_customerManagedKeyArn;
74 bool m_arnHasBeenSet = false;
75 bool m_customerManagedKeyArnHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace AppFabric
80} // namespace Aws
AppBundle & WithCustomerManagedKeyArn(CustomerManagedKeyArnT &&value)
Definition AppBundle.h:65
AWS_APPFABRIC_API AppBundle(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFABRIC_API AppBundle()=default
bool CustomerManagedKeyArnHasBeenSet() const
Definition AppBundle.h:58
const Aws::String & GetCustomerManagedKeyArn() const
Definition AppBundle.h:57
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFABRIC_API AppBundle & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition AppBundle.h:38
void SetArn(ArnT &&value)
Definition AppBundle.h:41
void SetCustomerManagedKeyArn(CustomerManagedKeyArnT &&value)
Definition AppBundle.h:60
AppBundle & WithArn(ArnT &&value)
Definition AppBundle.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue