AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AppAuthorizationSummary.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appfabric/model/Tenant.h>
10#include <aws/appfabric/model/AppAuthorizationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppFabric
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_APPFABRIC_API AppAuthorizationSummary() = default;
40 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAppAuthorizationArn() const { return m_appAuthorizationArn; }
48 inline bool AppAuthorizationArnHasBeenSet() const { return m_appAuthorizationArnHasBeenSet; }
49 template<typename AppAuthorizationArnT = Aws::String>
50 void SetAppAuthorizationArn(AppAuthorizationArnT&& value) { m_appAuthorizationArnHasBeenSet = true; m_appAuthorizationArn = std::forward<AppAuthorizationArnT>(value); }
51 template<typename AppAuthorizationArnT = Aws::String>
52 AppAuthorizationSummary& WithAppAuthorizationArn(AppAuthorizationArnT&& value) { SetAppAuthorizationArn(std::forward<AppAuthorizationArnT>(value)); return *this;}
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) { m_appBundleArnHasBeenSet = true; m_appBundleArn = std::forward<AppBundleArnT>(value); }
64 template<typename AppBundleArnT = Aws::String>
65 AppAuthorizationSummary& WithAppBundleArn(AppBundleArnT&& value) { SetAppBundleArn(std::forward<AppBundleArnT>(value)); return *this;}
67
69
72 inline const Aws::String& GetApp() const { return m_app; }
73 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
74 template<typename AppT = Aws::String>
75 void SetApp(AppT&& value) { m_appHasBeenSet = true; m_app = std::forward<AppT>(value); }
76 template<typename AppT = Aws::String>
77 AppAuthorizationSummary& WithApp(AppT&& value) { SetApp(std::forward<AppT>(value)); return *this;}
79
81
85 inline const Tenant& GetTenant() const { return m_tenant; }
86 inline bool TenantHasBeenSet() const { return m_tenantHasBeenSet; }
87 template<typename TenantT = Tenant>
88 void SetTenant(TenantT&& value) { m_tenantHasBeenSet = true; m_tenant = std::forward<TenantT>(value); }
89 template<typename TenantT = Tenant>
90 AppAuthorizationSummary& WithTenant(TenantT&& value) { SetTenant(std::forward<TenantT>(value)); return *this;}
92
94
108 inline AppAuthorizationStatus GetStatus() const { return m_status; }
109 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
110 inline void SetStatus(AppAuthorizationStatus value) { m_statusHasBeenSet = true; m_status = value; }
113
115
118 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
119 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
120 template<typename UpdatedAtT = Aws::Utils::DateTime>
121 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
122 template<typename UpdatedAtT = Aws::Utils::DateTime>
123 AppAuthorizationSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
125 private:
126
127 Aws::String m_appAuthorizationArn;
128 bool m_appAuthorizationArnHasBeenSet = false;
129
130 Aws::String m_appBundleArn;
131 bool m_appBundleArnHasBeenSet = false;
132
133 Aws::String m_app;
134 bool m_appHasBeenSet = false;
135
136 Tenant m_tenant;
137 bool m_tenantHasBeenSet = false;
138
140 bool m_statusHasBeenSet = false;
141
142 Aws::Utils::DateTime m_updatedAt{};
143 bool m_updatedAtHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace AppFabric
148} // 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