AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProtectedQuerySQLParameters.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRoomsML
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLEANROOMSML_API ProtectedQuerySQLParameters();
39 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetQueryString() const{ return m_queryString; }
47 inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; }
48 inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; }
49 inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); }
50 inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); }
51 inline ProtectedQuerySQLParameters& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
52 inline ProtectedQuerySQLParameters& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
53 inline ProtectedQuerySQLParameters& WithQueryString(const char* value) { SetQueryString(value); return *this;}
55
57
61 inline const Aws::String& GetAnalysisTemplateArn() const{ return m_analysisTemplateArn; }
62 inline bool AnalysisTemplateArnHasBeenSet() const { return m_analysisTemplateArnHasBeenSet; }
63 inline void SetAnalysisTemplateArn(const Aws::String& value) { m_analysisTemplateArnHasBeenSet = true; m_analysisTemplateArn = value; }
64 inline void SetAnalysisTemplateArn(Aws::String&& value) { m_analysisTemplateArnHasBeenSet = true; m_analysisTemplateArn = std::move(value); }
65 inline void SetAnalysisTemplateArn(const char* value) { m_analysisTemplateArnHasBeenSet = true; m_analysisTemplateArn.assign(value); }
68 inline ProtectedQuerySQLParameters& WithAnalysisTemplateArn(const char* value) { SetAnalysisTemplateArn(value); return *this;}
70
72
75 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
76 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
77 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
78 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
81 inline ProtectedQuerySQLParameters& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
82 inline ProtectedQuerySQLParameters& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
83 inline ProtectedQuerySQLParameters& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
84 inline ProtectedQuerySQLParameters& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
85 inline ProtectedQuerySQLParameters& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
86 inline ProtectedQuerySQLParameters& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
87 inline ProtectedQuerySQLParameters& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
89 private:
90
91 Aws::String m_queryString;
92 bool m_queryStringHasBeenSet = false;
93
94 Aws::String m_analysisTemplateArn;
95 bool m_analysisTemplateArnHasBeenSet = false;
96
98 bool m_parametersHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace CleanRoomsML
103} // namespace Aws
AWS_CLEANROOMSML_API ProtectedQuerySQLParameters(Aws::Utils::Json::JsonView jsonValue)
ProtectedQuerySQLParameters & AddParameters(const Aws::String &key, const Aws::String &value)
ProtectedQuerySQLParameters & WithQueryString(const Aws::String &value)
ProtectedQuerySQLParameters & AddParameters(Aws::String &&key, Aws::String &&value)
ProtectedQuerySQLParameters & WithQueryString(const char *value)
AWS_CLEANROOMSML_API ProtectedQuerySQLParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtectedQuerySQLParameters & WithAnalysisTemplateArn(const char *value)
ProtectedQuerySQLParameters & AddParameters(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
ProtectedQuerySQLParameters & WithQueryString(Aws::String &&value)
ProtectedQuerySQLParameters & WithAnalysisTemplateArn(Aws::String &&value)
ProtectedQuerySQLParameters & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
ProtectedQuerySQLParameters & AddParameters(const char *key, Aws::String &&value)
ProtectedQuerySQLParameters & WithAnalysisTemplateArn(const Aws::String &value)
ProtectedQuerySQLParameters & AddParameters(Aws::String &&key, const char *value)
ProtectedQuerySQLParameters & AddParameters(const char *key, const char *value)
ProtectedQuerySQLParameters & AddParameters(const Aws::String &key, Aws::String &&value)
ProtectedQuerySQLParameters & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue