AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppAuthorizationArn(const Aws::String& value) { m_appAuthorizationArnHasBeenSet = true; m_appAuthorizationArn = value; }
50 inline void SetAppAuthorizationArn(Aws::String&& value) { m_appAuthorizationArnHasBeenSet = true; m_appAuthorizationArn = std::move(value); }
51 inline void SetAppAuthorizationArn(const char* value) { m_appAuthorizationArnHasBeenSet = true; m_appAuthorizationArn.assign(value); }
53 inline AppAuthorizationSummary& WithAppAuthorizationArn(Aws::String&& value) { SetAppAuthorizationArn(std::move(value)); return *this;}
54 inline AppAuthorizationSummary& WithAppAuthorizationArn(const char* value) { SetAppAuthorizationArn(value); return *this;}
56
58
62 inline const Aws::String& GetAppBundleArn() const{ return m_appBundleArn; }
63 inline bool AppBundleArnHasBeenSet() const { return m_appBundleArnHasBeenSet; }
64 inline void SetAppBundleArn(const Aws::String& value) { m_appBundleArnHasBeenSet = true; m_appBundleArn = value; }
65 inline void SetAppBundleArn(Aws::String&& value) { m_appBundleArnHasBeenSet = true; m_appBundleArn = std::move(value); }
66 inline void SetAppBundleArn(const char* value) { m_appBundleArnHasBeenSet = true; m_appBundleArn.assign(value); }
67 inline AppAuthorizationSummary& WithAppBundleArn(const Aws::String& value) { SetAppBundleArn(value); return *this;}
68 inline AppAuthorizationSummary& WithAppBundleArn(Aws::String&& value) { SetAppBundleArn(std::move(value)); return *this;}
69 inline AppAuthorizationSummary& WithAppBundleArn(const char* value) { SetAppBundleArn(value); return *this;}
71
73
76 inline const Aws::String& GetApp() const{ return m_app; }
77 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
78 inline void SetApp(const Aws::String& value) { m_appHasBeenSet = true; m_app = value; }
79 inline void SetApp(Aws::String&& value) { m_appHasBeenSet = true; m_app = std::move(value); }
80 inline void SetApp(const char* value) { m_appHasBeenSet = true; m_app.assign(value); }
81 inline AppAuthorizationSummary& WithApp(const Aws::String& value) { SetApp(value); return *this;}
82 inline AppAuthorizationSummary& WithApp(Aws::String&& value) { SetApp(std::move(value)); return *this;}
83 inline AppAuthorizationSummary& WithApp(const char* value) { SetApp(value); return *this;}
85
87
91 inline const Tenant& GetTenant() const{ return m_tenant; }
92 inline bool TenantHasBeenSet() const { return m_tenantHasBeenSet; }
93 inline void SetTenant(const Tenant& value) { m_tenantHasBeenSet = true; m_tenant = value; }
94 inline void SetTenant(Tenant&& value) { m_tenantHasBeenSet = true; m_tenant = std::move(value); }
95 inline AppAuthorizationSummary& WithTenant(const Tenant& value) { SetTenant(value); return *this;}
96 inline AppAuthorizationSummary& WithTenant(Tenant&& value) { SetTenant(std::move(value)); return *this;}
98
100
114 inline const AppAuthorizationStatus& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const AppAuthorizationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(AppAuthorizationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline AppAuthorizationSummary& WithStatus(const AppAuthorizationStatus& value) { SetStatus(value); return *this;}
119 inline AppAuthorizationSummary& WithStatus(AppAuthorizationStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
127 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
128 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
129 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
130 inline AppAuthorizationSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
131 inline AppAuthorizationSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
133 private:
134
135 Aws::String m_appAuthorizationArn;
136 bool m_appAuthorizationArnHasBeenSet = false;
137
138 Aws::String m_appBundleArn;
139 bool m_appBundleArnHasBeenSet = false;
140
141 Aws::String m_app;
142 bool m_appHasBeenSet = false;
143
144 Tenant m_tenant;
145 bool m_tenantHasBeenSet = false;
146
147 AppAuthorizationStatus m_status;
148 bool m_statusHasBeenSet = false;
149
150 Aws::Utils::DateTime m_updatedAt;
151 bool m_updatedAtHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace AppFabric
156} // namespace Aws
AppAuthorizationSummary & WithApp(const Aws::String &value)
AppAuthorizationSummary & WithAppBundleArn(Aws::String &&value)
const AppAuthorizationStatus & GetStatus() const
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
AppAuthorizationSummary & WithAppBundleArn(const Aws::String &value)
void SetStatus(const AppAuthorizationStatus &value)
AppAuthorizationSummary & WithStatus(const AppAuthorizationStatus &value)
AppAuthorizationSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
AppAuthorizationSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_APPFABRIC_API AppAuthorizationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AppAuthorizationSummary & WithApp(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AppAuthorizationSummary & WithAppBundleArn(const char *value)
AppAuthorizationSummary & WithStatus(AppAuthorizationStatus &&value)
AWS_APPFABRIC_API AppAuthorizationSummary(Aws::Utils::Json::JsonView jsonValue)
AppAuthorizationSummary & WithAppAuthorizationArn(const char *value)
AppAuthorizationSummary & WithAppAuthorizationArn(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AppAuthorizationSummary & WithAppAuthorizationArn(Aws::String &&value)
AppAuthorizationSummary & WithTenant(Tenant &&value)
AppAuthorizationSummary & WithApp(Aws::String &&value)
AppAuthorizationSummary & WithTenant(const Tenant &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue