AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
ClusterSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dsql/DSQL_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DSQL {
20namespace Model {
21
28 public:
29 AWS_DSQL_API ClusterSummary() = default;
33
35
38 inline const Aws::String& GetIdentifier() const { return m_identifier; }
39 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
40 template <typename IdentifierT = Aws::String>
41 void SetIdentifier(IdentifierT&& value) {
42 m_identifierHasBeenSet = true;
43 m_identifier = std::forward<IdentifierT>(value);
44 }
45 template <typename IdentifierT = Aws::String>
46 ClusterSummary& WithIdentifier(IdentifierT&& value) {
47 SetIdentifier(std::forward<IdentifierT>(value));
48 return *this;
49 }
51
53
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) {
60 m_arnHasBeenSet = true;
61 m_arn = std::forward<ArnT>(value);
62 }
63 template <typename ArnT = Aws::String>
64 ClusterSummary& WithArn(ArnT&& value) {
65 SetArn(std::forward<ArnT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_identifier;
71
72 Aws::String m_arn;
73 bool m_identifierHasBeenSet = false;
74 bool m_arnHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DSQL
79} // namespace Aws
ClusterSummary & WithIdentifier(IdentifierT &&value)
ClusterSummary & WithArn(ArnT &&value)
AWS_DSQL_API ClusterSummary()=default
const Aws::String & GetIdentifier() const
void SetIdentifier(IdentifierT &&value)
AWS_DSQL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DSQL_API ClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DSQL_API ClusterSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue