AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HttpEndpointRequestConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/ContentEncoding.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/firehose/model/HttpEndpointCommonAttribute.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 Firehose
24{
25namespace Model
26{
27
34 {
35 public:
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const ContentEncoding& GetContentEncoding() const{ return m_contentEncoding; }
50 inline bool ContentEncodingHasBeenSet() const { return m_contentEncodingHasBeenSet; }
51 inline void SetContentEncoding(const ContentEncoding& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = value; }
52 inline void SetContentEncoding(ContentEncoding&& value) { m_contentEncodingHasBeenSet = true; m_contentEncoding = std::move(value); }
56
58
61 inline const Aws::Vector<HttpEndpointCommonAttribute>& GetCommonAttributes() const{ return m_commonAttributes; }
62 inline bool CommonAttributesHasBeenSet() const { return m_commonAttributesHasBeenSet; }
63 inline void SetCommonAttributes(const Aws::Vector<HttpEndpointCommonAttribute>& value) { m_commonAttributesHasBeenSet = true; m_commonAttributes = value; }
64 inline void SetCommonAttributes(Aws::Vector<HttpEndpointCommonAttribute>&& value) { m_commonAttributesHasBeenSet = true; m_commonAttributes = std::move(value); }
67 inline HttpEndpointRequestConfiguration& AddCommonAttributes(const HttpEndpointCommonAttribute& value) { m_commonAttributesHasBeenSet = true; m_commonAttributes.push_back(value); return *this; }
68 inline HttpEndpointRequestConfiguration& AddCommonAttributes(HttpEndpointCommonAttribute&& value) { m_commonAttributesHasBeenSet = true; m_commonAttributes.push_back(std::move(value)); return *this; }
70 private:
71
72 ContentEncoding m_contentEncoding;
73 bool m_contentEncodingHasBeenSet = false;
74
76 bool m_commonAttributesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Firehose
81} // namespace Aws
HttpEndpointRequestConfiguration & WithContentEncoding(ContentEncoding &&value)
HttpEndpointRequestConfiguration & AddCommonAttributes(const HttpEndpointCommonAttribute &value)
HttpEndpointRequestConfiguration & WithContentEncoding(const ContentEncoding &value)
HttpEndpointRequestConfiguration & WithCommonAttributes(Aws::Vector< HttpEndpointCommonAttribute > &&value)
void SetCommonAttributes(Aws::Vector< HttpEndpointCommonAttribute > &&value)
HttpEndpointRequestConfiguration & AddCommonAttributes(HttpEndpointCommonAttribute &&value)
void SetCommonAttributes(const Aws::Vector< HttpEndpointCommonAttribute > &value)
const Aws::Vector< HttpEndpointCommonAttribute > & GetCommonAttributes() const
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API HttpEndpointRequestConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API HttpEndpointRequestConfiguration(Aws::Utils::Json::JsonView jsonValue)
HttpEndpointRequestConfiguration & WithCommonAttributes(const Aws::Vector< HttpEndpointCommonAttribute > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue