AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 StoredQueryMetadata();
35 AWS_CONFIGSERVICE_API StoredQueryMetadata(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONFIGSERVICE_API StoredQueryMetadata& 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 StoredQueryMetadata& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;}
50 inline StoredQueryMetadata& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;}
51 inline StoredQueryMetadata& 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 StoredQueryMetadata& WithQueryArn(const Aws::String& value) { SetQueryArn(value); return *this;}
65 inline StoredQueryMetadata& WithQueryArn(Aws::String&& value) { SetQueryArn(std::move(value)); return *this;}
66 inline StoredQueryMetadata& 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 StoredQueryMetadata& WithQueryName(const Aws::String& value) { SetQueryName(value); return *this;}
79 inline StoredQueryMetadata& WithQueryName(Aws::String&& value) { SetQueryName(std::move(value)); return *this;}
80 inline StoredQueryMetadata& 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 StoredQueryMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline StoredQueryMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline StoredQueryMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
96 private:
97
98 Aws::String m_queryId;
99 bool m_queryIdHasBeenSet = false;
100
101 Aws::String m_queryArn;
102 bool m_queryArnHasBeenSet = false;
103
104 Aws::String m_queryName;
105 bool m_queryNameHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ConfigService
113} // namespace Aws
StoredQueryMetadata & WithQueryArn(const Aws::String &value)
StoredQueryMetadata & WithQueryArn(Aws::String &&value)
AWS_CONFIGSERVICE_API StoredQueryMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
StoredQueryMetadata & WithDescription(const Aws::String &value)
StoredQueryMetadata & WithQueryName(const char *value)
StoredQueryMetadata & WithQueryId(const char *value)
AWS_CONFIGSERVICE_API StoredQueryMetadata(Aws::Utils::Json::JsonView jsonValue)
StoredQueryMetadata & WithDescription(const char *value)
StoredQueryMetadata & WithQueryName(Aws::String &&value)
StoredQueryMetadata & WithQueryArn(const char *value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
StoredQueryMetadata & WithQueryId(Aws::String &&value)
StoredQueryMetadata & WithDescription(Aws::String &&value)
StoredQueryMetadata & WithQueryName(const Aws::String &value)
StoredQueryMetadata & WithQueryId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue