AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CachePolicyQueryStringsConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/CachePolicyQueryStringBehavior.h>
9#include <aws/cloudfront/model/QueryStringNames.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDFRONT_API CachePolicyQueryStringsConfig();
37 AWS_CLOUDFRONT_API CachePolicyQueryStringsConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
61 inline const CachePolicyQueryStringBehavior& GetQueryStringBehavior() const{ return m_queryStringBehavior; }
62 inline bool QueryStringBehaviorHasBeenSet() const { return m_queryStringBehaviorHasBeenSet; }
63 inline void SetQueryStringBehavior(const CachePolicyQueryStringBehavior& value) { m_queryStringBehaviorHasBeenSet = true; m_queryStringBehavior = value; }
64 inline void SetQueryStringBehavior(CachePolicyQueryStringBehavior&& value) { m_queryStringBehaviorHasBeenSet = true; m_queryStringBehavior = std::move(value); }
68
70
80 inline const QueryStringNames& GetQueryStrings() const{ return m_queryStrings; }
81 inline bool QueryStringsHasBeenSet() const { return m_queryStringsHasBeenSet; }
82 inline void SetQueryStrings(const QueryStringNames& value) { m_queryStringsHasBeenSet = true; m_queryStrings = value; }
83 inline void SetQueryStrings(QueryStringNames&& value) { m_queryStringsHasBeenSet = true; m_queryStrings = std::move(value); }
85 inline CachePolicyQueryStringsConfig& WithQueryStrings(QueryStringNames&& value) { SetQueryStrings(std::move(value)); return *this;}
87 private:
88
89 CachePolicyQueryStringBehavior m_queryStringBehavior;
90 bool m_queryStringBehaviorHasBeenSet = false;
91
92 QueryStringNames m_queryStrings;
93 bool m_queryStringsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CloudFront
98} // namespace Aws
void SetQueryStringBehavior(CachePolicyQueryStringBehavior &&value)
CachePolicyQueryStringsConfig & WithQueryStrings(QueryStringNames &&value)
CachePolicyQueryStringsConfig & WithQueryStringBehavior(const CachePolicyQueryStringBehavior &value)
CachePolicyQueryStringsConfig & WithQueryStrings(const QueryStringNames &value)
AWS_CLOUDFRONT_API CachePolicyQueryStringsConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const CachePolicyQueryStringBehavior & GetQueryStringBehavior() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_CLOUDFRONT_API CachePolicyQueryStringsConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetQueryStringBehavior(const CachePolicyQueryStringBehavior &value)
CachePolicyQueryStringsConfig & WithQueryStringBehavior(CachePolicyQueryStringBehavior &&value)