AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StoredQuery.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConfigService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONFIGSERVICE_API StoredQuery() = default;
35 AWS_CONFIGSERVICE_API StoredQuery(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONFIGSERVICE_API StoredQuery& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetQueryId() const { return m_queryId; }
45 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
46 template<typename QueryIdT = Aws::String>
47 void SetQueryId(QueryIdT&& value) { m_queryIdHasBeenSet = true; m_queryId = std::forward<QueryIdT>(value); }
48 template<typename QueryIdT = Aws::String>
49 StoredQuery& WithQueryId(QueryIdT&& value) { SetQueryId(std::forward<QueryIdT>(value)); return *this;}
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) { m_queryArnHasBeenSet = true; m_queryArn = std::forward<QueryArnT>(value); }
61 template<typename QueryArnT = Aws::String>
62 StoredQuery& WithQueryArn(QueryArnT&& value) { SetQueryArn(std::forward<QueryArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetQueryName() const { return m_queryName; }
70 inline bool QueryNameHasBeenSet() const { return m_queryNameHasBeenSet; }
71 template<typename QueryNameT = Aws::String>
72 void SetQueryName(QueryNameT&& value) { m_queryNameHasBeenSet = true; m_queryName = std::forward<QueryNameT>(value); }
73 template<typename QueryNameT = Aws::String>
74 StoredQuery& WithQueryName(QueryNameT&& value) { SetQueryName(std::forward<QueryNameT>(value)); return *this;}
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 StoredQuery& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88
90
97 inline const Aws::String& GetExpression() const { return m_expression; }
98 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
99 template<typename ExpressionT = Aws::String>
100 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
101 template<typename ExpressionT = Aws::String>
102 StoredQuery& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
104 private:
105
106 Aws::String m_queryId;
107 bool m_queryIdHasBeenSet = false;
108
109 Aws::String m_queryArn;
110 bool m_queryArnHasBeenSet = false;
111
112 Aws::String m_queryName;
113 bool m_queryNameHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Aws::String m_expression;
119 bool m_expressionHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace ConfigService
124} // namespace Aws
StoredQuery & WithQueryId(QueryIdT &&value)
Definition StoredQuery.h:49
AWS_CONFIGSERVICE_API StoredQuery()=default
const Aws::String & GetExpression() const
Definition StoredQuery.h:97
void SetExpression(ExpressionT &&value)
const Aws::String & GetQueryArn() const
Definition StoredQuery.h:57
void SetQueryId(QueryIdT &&value)
Definition StoredQuery.h:47
const Aws::String & GetQueryId() const
Definition StoredQuery.h:44
StoredQuery & WithDescription(DescriptionT &&value)
Definition StoredQuery.h:86
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
Definition StoredQuery.h:81
void SetQueryName(QueryNameT &&value)
Definition StoredQuery.h:72
const Aws::String & GetQueryName() const
Definition StoredQuery.h:69
StoredQuery & WithQueryArn(QueryArnT &&value)
Definition StoredQuery.h:62
StoredQuery & WithExpression(ExpressionT &&value)
StoredQuery & WithQueryName(QueryNameT &&value)
Definition StoredQuery.h:74
void SetQueryArn(QueryArnT &&value)
Definition StoredQuery.h:60
AWS_CONFIGSERVICE_API StoredQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API StoredQuery(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
Definition StoredQuery.h:84
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue