AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationSummary.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/ApplicationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_OPENSEARCHSERVICE_API ApplicationSummary();
38 AWS_OPENSEARCHSERVICE_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline ApplicationSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline ApplicationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline ApplicationSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
62 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 inline ApplicationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 inline ApplicationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 inline ApplicationSummary& WithArn(const char* value) { SetArn(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline ApplicationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline ApplicationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline ApplicationSummary& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
88 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
89 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
90 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
91 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
92 inline ApplicationSummary& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
93 inline ApplicationSummary& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
94 inline ApplicationSummary& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
96
98
103 inline const ApplicationStatus& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const ApplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(ApplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline ApplicationSummary& WithStatus(const ApplicationStatus& value) { SetStatus(value); return *this;}
108 inline ApplicationSummary& WithStatus(ApplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
116 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
117 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
118 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
119 inline ApplicationSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
120 inline ApplicationSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
128 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
129 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
130 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
131 inline ApplicationSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
132 inline ApplicationSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
134 private:
135
136 Aws::String m_id;
137 bool m_idHasBeenSet = false;
138
139 Aws::String m_arn;
140 bool m_arnHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::String m_endpoint;
146 bool m_endpointHasBeenSet = false;
147
148 ApplicationStatus m_status;
149 bool m_statusHasBeenSet = false;
150
151 Aws::Utils::DateTime m_createdAt;
152 bool m_createdAtHasBeenSet = false;
153
154 Aws::Utils::DateTime m_lastUpdatedAt;
155 bool m_lastUpdatedAtHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace OpenSearchService
160} // namespace Aws
ApplicationSummary & WithName(const Aws::String &value)
ApplicationSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
ApplicationSummary & WithId(Aws::String &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
ApplicationSummary & WithEndpoint(const char *value)
ApplicationSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
ApplicationSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
ApplicationSummary & WithStatus(const ApplicationStatus &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ApplicationSummary & WithArn(const char *value)
void SetStatus(const ApplicationStatus &value)
ApplicationSummary & WithName(const char *value)
AWS_OPENSEARCHSERVICE_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithId(const char *value)
AWS_OPENSEARCHSERVICE_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationSummary & WithName(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
ApplicationSummary & WithArn(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ApplicationSummary & WithArn(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API ApplicationSummary()
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
ApplicationSummary & WithId(const Aws::String &value)
ApplicationSummary & WithEndpoint(Aws::String &&value)
ApplicationSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
ApplicationSummary & WithEndpoint(const Aws::String &value)
ApplicationSummary & WithStatus(ApplicationStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue