AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AppAuthorizationSummary.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/model/AppAuthorizationStatus.h>
9#include <aws/appfabric/model/Tenant.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppFabric {
23namespace Model {
24
31 public:
32 AWS_APPFABRIC_API AppAuthorizationSummary() = default;
35 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAppAuthorizationArn() const { return m_appAuthorizationArn; }
42 inline bool AppAuthorizationArnHasBeenSet() const { return m_appAuthorizationArnHasBeenSet; }
43 template <typename AppAuthorizationArnT = Aws::String>
44 void SetAppAuthorizationArn(AppAuthorizationArnT&& value) {
45 m_appAuthorizationArnHasBeenSet = true;
46 m_appAuthorizationArn = std::forward<AppAuthorizationArnT>(value);
47 }
48 template <typename AppAuthorizationArnT = Aws::String>
49 AppAuthorizationSummary& WithAppAuthorizationArn(AppAuthorizationArnT&& value) {
50 SetAppAuthorizationArn(std::forward<AppAuthorizationArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetAppBundleArn() const { return m_appBundleArn; }
61 inline bool AppBundleArnHasBeenSet() const { return m_appBundleArnHasBeenSet; }
62 template <typename AppBundleArnT = Aws::String>
63 void SetAppBundleArn(AppBundleArnT&& value) {
64 m_appBundleArnHasBeenSet = true;
65 m_appBundleArn = std::forward<AppBundleArnT>(value);
66 }
67 template <typename AppBundleArnT = Aws::String>
68 AppAuthorizationSummary& WithAppBundleArn(AppBundleArnT&& value) {
69 SetAppBundleArn(std::forward<AppBundleArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetApp() const { return m_app; }
79 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
80 template <typename AppT = Aws::String>
81 void SetApp(AppT&& value) {
82 m_appHasBeenSet = true;
83 m_app = std::forward<AppT>(value);
84 }
85 template <typename AppT = Aws::String>
87 SetApp(std::forward<AppT>(value));
88 return *this;
89 }
91
93
97 inline const Tenant& GetTenant() const { return m_tenant; }
98 inline bool TenantHasBeenSet() const { return m_tenantHasBeenSet; }
99 template <typename TenantT = Tenant>
100 void SetTenant(TenantT&& value) {
101 m_tenantHasBeenSet = true;
102 m_tenant = std::forward<TenantT>(value);
103 }
104 template <typename TenantT = Tenant>
106 SetTenant(std::forward<TenantT>(value));
107 return *this;
108 }
110
112
126 inline AppAuthorizationStatus GetStatus() const { return m_status; }
127 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
129 m_statusHasBeenSet = true;
130 m_status = value;
131 }
133 SetStatus(value);
134 return *this;
135 }
137
139
142 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
143 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
144 template <typename UpdatedAtT = Aws::Utils::DateTime>
145 void SetUpdatedAt(UpdatedAtT&& value) {
146 m_updatedAtHasBeenSet = true;
147 m_updatedAt = std::forward<UpdatedAtT>(value);
148 }
149 template <typename UpdatedAtT = Aws::Utils::DateTime>
151 SetUpdatedAt(std::forward<UpdatedAtT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_appAuthorizationArn;
157
158 Aws::String m_appBundleArn;
159
160 Aws::String m_app;
161
162 Tenant m_tenant;
163
165
166 Aws::Utils::DateTime m_updatedAt{};
167 bool m_appAuthorizationArnHasBeenSet = false;
168 bool m_appBundleArnHasBeenSet = false;
169 bool m_appHasBeenSet = false;
170 bool m_tenantHasBeenSet = false;
171 bool m_statusHasBeenSet = false;
172 bool m_updatedAtHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace AppFabric
177} // namespace Aws
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
AppAuthorizationSummary & WithAppBundleArn(AppBundleArnT &&value)
AWS_APPFABRIC_API AppAuthorizationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAppAuthorizationArn(AppAuthorizationArnT &&value)
AppAuthorizationSummary & WithAppAuthorizationArn(AppAuthorizationArnT &&value)
AppAuthorizationSummary & WithUpdatedAt(UpdatedAtT &&value)
AppAuthorizationSummary & WithTenant(TenantT &&value)
AWS_APPFABRIC_API AppAuthorizationSummary()=default
AppAuthorizationSummary & WithApp(AppT &&value)
AWS_APPFABRIC_API AppAuthorizationSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
AppAuthorizationSummary & WithStatus(AppAuthorizationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue