AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
ApplicationSummary.h
1
6#pragma once
7#include <aws/account-access/AccountAccess_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AccountAccess {
21namespace Model {
22
30 public:
31 AWS_ACCOUNTACCESS_API ApplicationSummary() = default;
32 AWS_ACCOUNTACCESS_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ACCOUNTACCESS_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ACCOUNTACCESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetApplicationArn() const { return m_applicationArn; }
41 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
42 template <typename ApplicationArnT = Aws::String>
43 void SetApplicationArn(ApplicationArnT&& value) {
44 m_applicationArnHasBeenSet = true;
45 m_applicationArn = std::forward<ApplicationArnT>(value);
46 }
47 template <typename ApplicationArnT = Aws::String>
48 ApplicationSummary& WithApplicationArn(ApplicationArnT&& value) {
49 SetApplicationArn(std::forward<ApplicationArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetTenantId() const { return m_tenantId; }
59 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
60 template <typename TenantIdT = Aws::String>
61 void SetTenantId(TenantIdT&& value) {
62 m_tenantIdHasBeenSet = true;
63 m_tenantId = std::forward<TenantIdT>(value);
64 }
65 template <typename TenantIdT = Aws::String>
66 ApplicationSummary& WithTenantId(TenantIdT&& value) {
67 SetTenantId(std::forward<TenantIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
77 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
78 template <typename CreatedAtT = Aws::Utils::DateTime>
79 void SetCreatedAt(CreatedAtT&& value) {
80 m_createdAtHasBeenSet = true;
81 m_createdAt = std::forward<CreatedAtT>(value);
82 }
83 template <typename CreatedAtT = Aws::Utils::DateTime>
84 ApplicationSummary& WithCreatedAt(CreatedAtT&& value) {
85 SetCreatedAt(std::forward<CreatedAtT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
95 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
96 template <typename UpdatedAtT = Aws::Utils::DateTime>
97 void SetUpdatedAt(UpdatedAtT&& value) {
98 m_updatedAtHasBeenSet = true;
99 m_updatedAt = std::forward<UpdatedAtT>(value);
100 }
101 template <typename UpdatedAtT = Aws::Utils::DateTime>
102 ApplicationSummary& WithUpdatedAt(UpdatedAtT&& value) {
103 SetUpdatedAt(std::forward<UpdatedAtT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_applicationArn;
109
110 Aws::String m_tenantId;
111
112 Aws::Utils::DateTime m_createdAt{};
113
114 Aws::Utils::DateTime m_updatedAt{};
115 bool m_applicationArnHasBeenSet = false;
116 bool m_tenantIdHasBeenSet = false;
117 bool m_createdAtHasBeenSet = false;
118 bool m_updatedAtHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace AccountAccess
123} // namespace Aws
ApplicationSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_ACCOUNTACCESS_API ApplicationSummary()=default
void SetApplicationArn(ApplicationArnT &&value)
AWS_ACCOUNTACCESS_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationSummary & WithApplicationArn(ApplicationArnT &&value)
ApplicationSummary & WithTenantId(TenantIdT &&value)
AWS_ACCOUNTACCESS_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_ACCOUNTACCESS_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue