AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipeTargetHttpParameters.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pipes
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PIPES_API PipeTargetHttpParameters();
40 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetPathParameterValues() const{ return m_pathParameterValues; }
49 inline bool PathParameterValuesHasBeenSet() const { return m_pathParameterValuesHasBeenSet; }
50 inline void SetPathParameterValues(const Aws::Vector<Aws::String>& value) { m_pathParameterValuesHasBeenSet = true; m_pathParameterValues = value; }
51 inline void SetPathParameterValues(Aws::Vector<Aws::String>&& value) { m_pathParameterValuesHasBeenSet = true; m_pathParameterValues = std::move(value); }
54 inline PipeTargetHttpParameters& AddPathParameterValues(const Aws::String& value) { m_pathParameterValuesHasBeenSet = true; m_pathParameterValues.push_back(value); return *this; }
55 inline PipeTargetHttpParameters& AddPathParameterValues(Aws::String&& value) { m_pathParameterValuesHasBeenSet = true; m_pathParameterValues.push_back(std::move(value)); return *this; }
56 inline PipeTargetHttpParameters& AddPathParameterValues(const char* value) { m_pathParameterValuesHasBeenSet = true; m_pathParameterValues.push_back(value); return *this; }
58
60
64 inline const Aws::Map<Aws::String, Aws::String>& GetHeaderParameters() const{ return m_headerParameters; }
65 inline bool HeaderParametersHasBeenSet() const { return m_headerParametersHasBeenSet; }
66 inline void SetHeaderParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_headerParametersHasBeenSet = true; m_headerParameters = value; }
67 inline void SetHeaderParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_headerParametersHasBeenSet = true; m_headerParameters = std::move(value); }
70 inline PipeTargetHttpParameters& AddHeaderParameters(const Aws::String& key, const Aws::String& value) { m_headerParametersHasBeenSet = true; m_headerParameters.emplace(key, value); return *this; }
71 inline PipeTargetHttpParameters& AddHeaderParameters(Aws::String&& key, const Aws::String& value) { m_headerParametersHasBeenSet = true; m_headerParameters.emplace(std::move(key), value); return *this; }
72 inline PipeTargetHttpParameters& AddHeaderParameters(const Aws::String& key, Aws::String&& value) { m_headerParametersHasBeenSet = true; m_headerParameters.emplace(key, std::move(value)); return *this; }
73 inline PipeTargetHttpParameters& AddHeaderParameters(Aws::String&& key, Aws::String&& value) { m_headerParametersHasBeenSet = true; m_headerParameters.emplace(std::move(key), std::move(value)); return *this; }
74 inline PipeTargetHttpParameters& AddHeaderParameters(const char* key, Aws::String&& value) { m_headerParametersHasBeenSet = true; m_headerParameters.emplace(key, std::move(value)); return *this; }
75 inline PipeTargetHttpParameters& AddHeaderParameters(Aws::String&& key, const char* value) { m_headerParametersHasBeenSet = true; m_headerParameters.emplace(std::move(key), value); return *this; }
76 inline PipeTargetHttpParameters& AddHeaderParameters(const char* key, const char* value) { m_headerParametersHasBeenSet = true; m_headerParameters.emplace(key, value); return *this; }
78
80
84 inline const Aws::Map<Aws::String, Aws::String>& GetQueryStringParameters() const{ return m_queryStringParameters; }
85 inline bool QueryStringParametersHasBeenSet() const { return m_queryStringParametersHasBeenSet; }
86 inline void SetQueryStringParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters = value; }
87 inline void SetQueryStringParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters = std::move(value); }
90 inline PipeTargetHttpParameters& AddQueryStringParameters(const Aws::String& key, const Aws::String& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters.emplace(key, value); return *this; }
91 inline PipeTargetHttpParameters& AddQueryStringParameters(Aws::String&& key, const Aws::String& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters.emplace(std::move(key), value); return *this; }
92 inline PipeTargetHttpParameters& AddQueryStringParameters(const Aws::String& key, Aws::String&& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters.emplace(key, std::move(value)); return *this; }
93 inline PipeTargetHttpParameters& AddQueryStringParameters(Aws::String&& key, Aws::String&& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters.emplace(std::move(key), std::move(value)); return *this; }
94 inline PipeTargetHttpParameters& AddQueryStringParameters(const char* key, Aws::String&& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters.emplace(key, std::move(value)); return *this; }
95 inline PipeTargetHttpParameters& AddQueryStringParameters(Aws::String&& key, const char* value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters.emplace(std::move(key), value); return *this; }
96 inline PipeTargetHttpParameters& AddQueryStringParameters(const char* key, const char* value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters.emplace(key, value); return *this; }
98 private:
99
100 Aws::Vector<Aws::String> m_pathParameterValues;
101 bool m_pathParameterValuesHasBeenSet = false;
102
103 Aws::Map<Aws::String, Aws::String> m_headerParameters;
104 bool m_headerParametersHasBeenSet = false;
105
106 Aws::Map<Aws::String, Aws::String> m_queryStringParameters;
107 bool m_queryStringParametersHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Pipes
112} // namespace Aws
PipeTargetHttpParameters & AddPathParameterValues(Aws::String &&value)
PipeTargetHttpParameters & AddPathParameterValues(const Aws::String &value)
PipeTargetHttpParameters & AddHeaderParameters(const Aws::String &key, const Aws::String &value)
PipeTargetHttpParameters & AddQueryStringParameters(Aws::String &&key, const Aws::String &value)
AWS_PIPES_API PipeTargetHttpParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
PipeTargetHttpParameters & AddQueryStringParameters(const Aws::String &key, Aws::String &&value)
PipeTargetHttpParameters & WithHeaderParameters(Aws::Map< Aws::String, Aws::String > &&value)
PipeTargetHttpParameters & AddHeaderParameters(Aws::String &&key, Aws::String &&value)
PipeTargetHttpParameters & AddHeaderParameters(const char *key, Aws::String &&value)
PipeTargetHttpParameters & WithQueryStringParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetQueryStringParameters() const
PipeTargetHttpParameters & AddQueryStringParameters(const char *key, const char *value)
PipeTargetHttpParameters & AddPathParameterValues(const char *value)
void SetPathParameterValues(Aws::Vector< Aws::String > &&value)
PipeTargetHttpParameters & WithPathParameterValues(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetHeaderParameters() const
void SetPathParameterValues(const Aws::Vector< Aws::String > &value)
PipeTargetHttpParameters & AddQueryStringParameters(const Aws::String &key, const Aws::String &value)
PipeTargetHttpParameters & AddHeaderParameters(Aws::String &&key, const Aws::String &value)
AWS_PIPES_API PipeTargetHttpParameters(Aws::Utils::Json::JsonView jsonValue)
PipeTargetHttpParameters & AddQueryStringParameters(Aws::String &&key, const char *value)
const Aws::Vector< Aws::String > & GetPathParameterValues() const
void SetQueryStringParameters(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
PipeTargetHttpParameters & AddHeaderParameters(const Aws::String &key, Aws::String &&value)
PipeTargetHttpParameters & AddQueryStringParameters(const char *key, Aws::String &&value)
PipeTargetHttpParameters & WithPathParameterValues(const Aws::Vector< Aws::String > &value)
PipeTargetHttpParameters & WithQueryStringParameters(const Aws::Map< Aws::String, Aws::String > &value)
PipeTargetHttpParameters & AddQueryStringParameters(Aws::String &&key, Aws::String &&value)
void SetHeaderParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetHeaderParameters(const Aws::Map< Aws::String, Aws::String > &value)
PipeTargetHttpParameters & AddHeaderParameters(Aws::String &&key, const char *value)
PipeTargetHttpParameters & WithHeaderParameters(const Aws::Map< Aws::String, Aws::String > &value)
PipeTargetHttpParameters & AddHeaderParameters(const char *key, const char *value)
void SetQueryStringParameters(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue