AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API ApplicationSummary() = default;
37 AWS_OPENSEARCHSERVICE_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 ApplicationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
56 inline const Aws::String& GetArn() const { return m_arn; }
57 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
58 template<typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
60 template<typename ArnT = Aws::String>
61 ApplicationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
63
65
68 inline const Aws::String& GetName() const { return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 template<typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
72 template<typename NameT = Aws::String>
73 ApplicationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
81 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
82 template<typename EndpointT = Aws::String>
83 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
84 template<typename EndpointT = Aws::String>
85 ApplicationSummary& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
87
89
94 inline ApplicationStatus GetStatus() const { return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(ApplicationStatus value) { m_statusHasBeenSet = true; m_status = value; }
97 inline ApplicationSummary& WithStatus(ApplicationStatus value) { SetStatus(value); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
105 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
106 template<typename CreatedAtT = Aws::Utils::DateTime>
107 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
108 template<typename CreatedAtT = Aws::Utils::DateTime>
109 ApplicationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
117 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
118 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
119 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
120 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
121 ApplicationSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
123 private:
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_endpoint;
135 bool m_endpointHasBeenSet = false;
136
138 bool m_statusHasBeenSet = false;
139
140 Aws::Utils::DateTime m_createdAt{};
141 bool m_createdAtHasBeenSet = false;
142
143 Aws::Utils::DateTime m_lastUpdatedAt{};
144 bool m_lastUpdatedAtHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace OpenSearchService
149} // namespace Aws
ApplicationSummary & WithStatus(ApplicationStatus value)
ApplicationSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_OPENSEARCHSERVICE_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue)
ApplicationSummary & WithName(NameT &&value)
AWS_OPENSEARCHSERVICE_API ApplicationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API ApplicationSummary()=default
const Aws::Utils::DateTime & GetCreatedAt() const
ApplicationSummary & WithEndpoint(EndpointT &&value)
ApplicationSummary & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue