AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
StoredQueryMetadata.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConfigService {
20namespace Model {
21
28 public:
29 AWS_CONFIGSERVICE_API StoredQueryMetadata() = default;
30 AWS_CONFIGSERVICE_API StoredQueryMetadata(Aws::Utils::Json::JsonView jsonValue);
31 AWS_CONFIGSERVICE_API StoredQueryMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetQueryId() const { return m_queryId; }
39 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
40 template <typename QueryIdT = Aws::String>
41 void SetQueryId(QueryIdT&& value) {
42 m_queryIdHasBeenSet = true;
43 m_queryId = std::forward<QueryIdT>(value);
44 }
45 template <typename QueryIdT = Aws::String>
46 StoredQueryMetadata& WithQueryId(QueryIdT&& value) {
47 SetQueryId(std::forward<QueryIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetQueryArn() const { return m_queryArn; }
58 inline bool QueryArnHasBeenSet() const { return m_queryArnHasBeenSet; }
59 template <typename QueryArnT = Aws::String>
60 void SetQueryArn(QueryArnT&& value) {
61 m_queryArnHasBeenSet = true;
62 m_queryArn = std::forward<QueryArnT>(value);
63 }
64 template <typename QueryArnT = Aws::String>
65 StoredQueryMetadata& WithQueryArn(QueryArnT&& value) {
66 SetQueryArn(std::forward<QueryArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetQueryName() const { return m_queryName; }
76 inline bool QueryNameHasBeenSet() const { return m_queryNameHasBeenSet; }
77 template <typename QueryNameT = Aws::String>
78 void SetQueryName(QueryNameT&& value) {
79 m_queryNameHasBeenSet = true;
80 m_queryName = std::forward<QueryNameT>(value);
81 }
82 template <typename QueryNameT = Aws::String>
83 StoredQueryMetadata& WithQueryName(QueryNameT&& value) {
84 SetQueryName(std::forward<QueryNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
101 StoredQueryMetadata& WithDescription(DescriptionT&& value) {
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_queryId;
108
109 Aws::String m_queryArn;
110
111 Aws::String m_queryName;
112
113 Aws::String m_description;
114 bool m_queryIdHasBeenSet = false;
115 bool m_queryArnHasBeenSet = false;
116 bool m_queryNameHasBeenSet = false;
117 bool m_descriptionHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace ConfigService
122} // namespace Aws
StoredQueryMetadata & WithDescription(DescriptionT &&value)
AWS_CONFIGSERVICE_API StoredQueryMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
StoredQueryMetadata & WithQueryId(QueryIdT &&value)
StoredQueryMetadata & WithQueryName(QueryNameT &&value)
AWS_CONFIGSERVICE_API StoredQueryMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API StoredQueryMetadata()=default
StoredQueryMetadata & WithQueryArn(QueryArnT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue