AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectionHttpParameters.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/events/model/ConnectionHeaderParameter.h>
10#include <aws/events/model/ConnectionQueryStringParameter.h>
11#include <aws/events/model/ConnectionBodyParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CloudWatchEvents
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLOUDWATCHEVENTS_API ConnectionHttpParameters();
39 AWS_CLOUDWATCHEVENTS_API ConnectionHttpParameters(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<ConnectionHeaderParameter>& GetHeaderParameters() const{ return m_headerParameters; }
49 inline bool HeaderParametersHasBeenSet() const { return m_headerParametersHasBeenSet; }
50 inline void SetHeaderParameters(const Aws::Vector<ConnectionHeaderParameter>& value) { m_headerParametersHasBeenSet = true; m_headerParameters = value; }
51 inline void SetHeaderParameters(Aws::Vector<ConnectionHeaderParameter>&& value) { m_headerParametersHasBeenSet = true; m_headerParameters = std::move(value); }
54 inline ConnectionHttpParameters& AddHeaderParameters(const ConnectionHeaderParameter& value) { m_headerParametersHasBeenSet = true; m_headerParameters.push_back(value); return *this; }
55 inline ConnectionHttpParameters& AddHeaderParameters(ConnectionHeaderParameter&& value) { m_headerParametersHasBeenSet = true; m_headerParameters.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::Vector<ConnectionQueryStringParameter>& GetQueryStringParameters() const{ return m_queryStringParameters; }
63 inline bool QueryStringParametersHasBeenSet() const { return m_queryStringParametersHasBeenSet; }
64 inline void SetQueryStringParameters(const Aws::Vector<ConnectionQueryStringParameter>& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters = value; }
65 inline void SetQueryStringParameters(Aws::Vector<ConnectionQueryStringParameter>&& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters = std::move(value); }
68 inline ConnectionHttpParameters& AddQueryStringParameters(const ConnectionQueryStringParameter& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters.push_back(value); return *this; }
69 inline ConnectionHttpParameters& AddQueryStringParameters(ConnectionQueryStringParameter&& value) { m_queryStringParametersHasBeenSet = true; m_queryStringParameters.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<ConnectionBodyParameter>& GetBodyParameters() const{ return m_bodyParameters; }
77 inline bool BodyParametersHasBeenSet() const { return m_bodyParametersHasBeenSet; }
78 inline void SetBodyParameters(const Aws::Vector<ConnectionBodyParameter>& value) { m_bodyParametersHasBeenSet = true; m_bodyParameters = value; }
79 inline void SetBodyParameters(Aws::Vector<ConnectionBodyParameter>&& value) { m_bodyParametersHasBeenSet = true; m_bodyParameters = std::move(value); }
82 inline ConnectionHttpParameters& AddBodyParameters(const ConnectionBodyParameter& value) { m_bodyParametersHasBeenSet = true; m_bodyParameters.push_back(value); return *this; }
83 inline ConnectionHttpParameters& AddBodyParameters(ConnectionBodyParameter&& value) { m_bodyParametersHasBeenSet = true; m_bodyParameters.push_back(std::move(value)); return *this; }
85 private:
86
88 bool m_headerParametersHasBeenSet = false;
89
90 Aws::Vector<ConnectionQueryStringParameter> m_queryStringParameters;
91 bool m_queryStringParametersHasBeenSet = false;
92
94 bool m_bodyParametersHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CloudWatchEvents
99} // namespace Aws
ConnectionHttpParameters & AddQueryStringParameters(ConnectionQueryStringParameter &&value)
ConnectionHttpParameters & AddBodyParameters(const ConnectionBodyParameter &value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
ConnectionHttpParameters & AddHeaderParameters(ConnectionHeaderParameter &&value)
ConnectionHttpParameters & AddBodyParameters(ConnectionBodyParameter &&value)
ConnectionHttpParameters & WithQueryStringParameters(Aws::Vector< ConnectionQueryStringParameter > &&value)
void SetBodyParameters(Aws::Vector< ConnectionBodyParameter > &&value)
void SetQueryStringParameters(const Aws::Vector< ConnectionQueryStringParameter > &value)
ConnectionHttpParameters & AddHeaderParameters(const ConnectionHeaderParameter &value)
void SetHeaderParameters(const Aws::Vector< ConnectionHeaderParameter > &value)
ConnectionHttpParameters & WithHeaderParameters(Aws::Vector< ConnectionHeaderParameter > &&value)
const Aws::Vector< ConnectionQueryStringParameter > & GetQueryStringParameters() const
void SetHeaderParameters(Aws::Vector< ConnectionHeaderParameter > &&value)
ConnectionHttpParameters & WithHeaderParameters(const Aws::Vector< ConnectionHeaderParameter > &value)
AWS_CLOUDWATCHEVENTS_API ConnectionHttpParameters(Aws::Utils::Json::JsonView jsonValue)
ConnectionHttpParameters & WithBodyParameters(const Aws::Vector< ConnectionBodyParameter > &value)
ConnectionHttpParameters & WithQueryStringParameters(const Aws::Vector< ConnectionQueryStringParameter > &value)
const Aws::Vector< ConnectionHeaderParameter > & GetHeaderParameters() const
ConnectionHttpParameters & WithBodyParameters(Aws::Vector< ConnectionBodyParameter > &&value)
const Aws::Vector< ConnectionBodyParameter > & GetBodyParameters() const
void SetQueryStringParameters(Aws::Vector< ConnectionQueryStringParameter > &&value)
void SetBodyParameters(const Aws::Vector< ConnectionBodyParameter > &value)
AWS_CLOUDWATCHEVENTS_API ConnectionHttpParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectionHttpParameters & AddQueryStringParameters(const ConnectionQueryStringParameter &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue