AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetQueryId(const Aws::String& value) { m_queryIdHasBeenSet = true; m_queryId = value; }
47 inline void SetQueryId(Aws::String&& value) { m_queryIdHasBeenSet = true; m_queryId = std::move(value); }
48 inline void SetQueryId(const char* value) { m_queryIdHasBeenSet = true; m_queryId.assign(value); }
49 inline StoredQuery& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;}
50 inline StoredQuery& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;}
51 inline StoredQuery& WithQueryId(const char* value) { SetQueryId(value); return *this;}
53
55
59 inline const Aws::String& GetQueryArn() const{ return m_queryArn; }
60 inline bool QueryArnHasBeenSet() const { return m_queryArnHasBeenSet; }
61 inline void SetQueryArn(const Aws::String& value) { m_queryArnHasBeenSet = true; m_queryArn = value; }
62 inline void SetQueryArn(Aws::String&& value) { m_queryArnHasBeenSet = true; m_queryArn = std::move(value); }
63 inline void SetQueryArn(const char* value) { m_queryArnHasBeenSet = true; m_queryArn.assign(value); }
64 inline StoredQuery& WithQueryArn(const Aws::String& value) { SetQueryArn(value); return *this;}
65 inline StoredQuery& WithQueryArn(Aws::String&& value) { SetQueryArn(std::move(value)); return *this;}
66 inline StoredQuery& WithQueryArn(const char* value) { SetQueryArn(value); return *this;}
68
70
73 inline const Aws::String& GetQueryName() const{ return m_queryName; }
74 inline bool QueryNameHasBeenSet() const { return m_queryNameHasBeenSet; }
75 inline void SetQueryName(const Aws::String& value) { m_queryNameHasBeenSet = true; m_queryName = value; }
76 inline void SetQueryName(Aws::String&& value) { m_queryNameHasBeenSet = true; m_queryName = std::move(value); }
77 inline void SetQueryName(const char* value) { m_queryNameHasBeenSet = true; m_queryName.assign(value); }
78 inline StoredQuery& WithQueryName(const Aws::String& value) { SetQueryName(value); return *this;}
79 inline StoredQuery& WithQueryName(Aws::String&& value) { SetQueryName(std::move(value)); return *this;}
80 inline StoredQuery& WithQueryName(const char* value) { SetQueryName(value); return *this;}
82
84
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline StoredQuery& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline StoredQuery& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline StoredQuery& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
105 inline const Aws::String& GetExpression() const{ return m_expression; }
106 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
107 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
108 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
109 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
110 inline StoredQuery& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
111 inline StoredQuery& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
112 inline StoredQuery& WithExpression(const char* value) { SetExpression(value); return *this;}
114 private:
115
116 Aws::String m_queryId;
117 bool m_queryIdHasBeenSet = false;
118
119 Aws::String m_queryArn;
120 bool m_queryArnHasBeenSet = false;
121
122 Aws::String m_queryName;
123 bool m_queryNameHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 Aws::String m_expression;
129 bool m_expressionHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ConfigService
134} // namespace Aws
StoredQuery & WithDescription(const Aws::String &value)
Definition StoredQuery.h:92
void SetQueryName(const Aws::String &value)
Definition StoredQuery.h:75
AWS_CONFIGSERVICE_API StoredQuery()
void SetQueryArn(const char *value)
Definition StoredQuery.h:63
StoredQuery & WithQueryName(const Aws::String &value)
Definition StoredQuery.h:78
StoredQuery & WithQueryArn(const Aws::String &value)
Definition StoredQuery.h:64
void SetQueryName(const char *value)
Definition StoredQuery.h:77
StoredQuery & WithExpression(Aws::String &&value)
StoredQuery & WithExpression(const char *value)
void SetExpression(Aws::String &&value)
const Aws::String & GetExpression() const
void SetQueryArn(Aws::String &&value)
Definition StoredQuery.h:62
void SetDescription(const Aws::String &value)
Definition StoredQuery.h:89
StoredQuery & WithDescription(Aws::String &&value)
Definition StoredQuery.h:93
StoredQuery & WithQueryName(const char *value)
Definition StoredQuery.h:80
void SetQueryId(const char *value)
Definition StoredQuery.h:48
const Aws::String & GetQueryArn() const
Definition StoredQuery.h:59
void SetQueryArn(const Aws::String &value)
Definition StoredQuery.h:61
void SetExpression(const char *value)
const Aws::String & GetQueryId() const
Definition StoredQuery.h:44
void SetQueryName(Aws::String &&value)
Definition StoredQuery.h:76
StoredQuery & WithQueryId(const char *value)
Definition StoredQuery.h:51
void SetQueryId(const Aws::String &value)
Definition StoredQuery.h:46
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
StoredQuery & WithQueryArn(const char *value)
Definition StoredQuery.h:66
void SetQueryId(Aws::String &&value)
Definition StoredQuery.h:47
StoredQuery & WithQueryName(Aws::String &&value)
Definition StoredQuery.h:79
const Aws::String & GetDescription() const
Definition StoredQuery.h:87
const Aws::String & GetQueryName() const
Definition StoredQuery.h:73
StoredQuery & WithQueryId(const Aws::String &value)
Definition StoredQuery.h:49
StoredQuery & WithQueryArn(Aws::String &&value)
Definition StoredQuery.h:65
StoredQuery & WithExpression(const Aws::String &value)
StoredQuery & WithQueryId(Aws::String &&value)
Definition StoredQuery.h:50
StoredQuery & WithDescription(const char *value)
Definition StoredQuery.h:94
void SetDescription(const char *value)
Definition StoredQuery.h:91
void SetDescription(Aws::String &&value)
Definition StoredQuery.h:90
AWS_CONFIGSERVICE_API StoredQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API StoredQuery(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue