AWS SDK for C++  1.9.126
AWS SDK for C++
CachePolicyQueryStringsConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace CloudFront
22 {
23 namespace Model
24 {
25 
35  {
36  public:
40 
41  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42 
43 
63  inline const CachePolicyQueryStringBehavior& GetQueryStringBehavior() const{ return m_queryStringBehavior; }
64 
84  inline bool QueryStringBehaviorHasBeenSet() const { return m_queryStringBehaviorHasBeenSet; }
85 
105  inline void SetQueryStringBehavior(const CachePolicyQueryStringBehavior& value) { m_queryStringBehaviorHasBeenSet = true; m_queryStringBehavior = value; }
106 
126  inline void SetQueryStringBehavior(CachePolicyQueryStringBehavior&& value) { m_queryStringBehaviorHasBeenSet = true; m_queryStringBehavior = std::move(value); }
127 
147  inline CachePolicyQueryStringsConfig& WithQueryStringBehavior(const CachePolicyQueryStringBehavior& value) { SetQueryStringBehavior(value); return *this;}
148 
168  inline CachePolicyQueryStringsConfig& WithQueryStringBehavior(CachePolicyQueryStringBehavior&& value) { SetQueryStringBehavior(std::move(value)); return *this;}
169 
170 
181  inline const QueryStringNames& GetQueryStrings() const{ return m_queryStrings; }
182 
193  inline bool QueryStringsHasBeenSet() const { return m_queryStringsHasBeenSet; }
194 
205  inline void SetQueryStrings(const QueryStringNames& value) { m_queryStringsHasBeenSet = true; m_queryStrings = value; }
206 
217  inline void SetQueryStrings(QueryStringNames&& value) { m_queryStringsHasBeenSet = true; m_queryStrings = std::move(value); }
218 
229  inline CachePolicyQueryStringsConfig& WithQueryStrings(const QueryStringNames& value) { SetQueryStrings(value); return *this;}
230 
241  inline CachePolicyQueryStringsConfig& WithQueryStrings(QueryStringNames&& value) { SetQueryStrings(std::move(value)); return *this;}
242 
243  private:
244 
245  CachePolicyQueryStringBehavior m_queryStringBehavior;
246  bool m_queryStringBehaviorHasBeenSet;
247 
248  QueryStringNames m_queryStrings;
249  bool m_queryStringsHasBeenSet;
250  };
251 
252 } // namespace Model
253 } // namespace CloudFront
254 } // namespace Aws
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::QueryStringBehaviorHasBeenSet
bool QueryStringBehaviorHasBeenSet() const
Definition: CachePolicyQueryStringsConfig.h:84
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::GetQueryStringBehavior
const CachePolicyQueryStringBehavior & GetQueryStringBehavior() const
Definition: CachePolicyQueryStringsConfig.h:63
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::CachePolicyQueryStringsConfig
CachePolicyQueryStringsConfig()
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::WithQueryStrings
CachePolicyQueryStringsConfig & WithQueryStrings(QueryStringNames &&value)
Definition: CachePolicyQueryStringsConfig.h:241
Aws::CloudFront::Model::CachePolicyQueryStringsConfig
Definition: CachePolicyQueryStringsConfig.h:35
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::SetQueryStringBehavior
void SetQueryStringBehavior(CachePolicyQueryStringBehavior &&value)
Definition: CachePolicyQueryStringsConfig.h:126
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::SetQueryStrings
void SetQueryStrings(QueryStringNames &&value)
Definition: CachePolicyQueryStringsConfig.h:217
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::SetQueryStrings
void SetQueryStrings(const QueryStringNames &value)
Definition: CachePolicyQueryStringsConfig.h:205
Aws::CloudFront::Model::QueryStringNames
Definition: QueryStringNames.h:32
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::QueryStringsHasBeenSet
bool QueryStringsHasBeenSet() const
Definition: CachePolicyQueryStringsConfig.h:193
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::WithQueryStrings
CachePolicyQueryStringsConfig & WithQueryStrings(const QueryStringNames &value)
Definition: CachePolicyQueryStringsConfig.h:229
CachePolicyQueryStringBehavior.h
Aws::CloudFront::Model::CachePolicyQueryStringBehavior
CachePolicyQueryStringBehavior
Definition: CachePolicyQueryStringBehavior.h:17
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::WithQueryStringBehavior
CachePolicyQueryStringsConfig & WithQueryStringBehavior(const CachePolicyQueryStringBehavior &value)
Definition: CachePolicyQueryStringsConfig.h:147
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::CachePolicyQueryStringsConfig
CachePolicyQueryStringsConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::operator=
CachePolicyQueryStringsConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::WithQueryStringBehavior
CachePolicyQueryStringsConfig & WithQueryStringBehavior(CachePolicyQueryStringBehavior &&value)
Definition: CachePolicyQueryStringsConfig.h:168
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::GetQueryStrings
const QueryStringNames & GetQueryStrings() const
Definition: CachePolicyQueryStringsConfig.h:181
QueryStringNames.h
Aws::CloudFront::Model::CachePolicyQueryStringsConfig::SetQueryStringBehavior
void SetQueryStringBehavior(const CachePolicyQueryStringBehavior &value)
Definition: CachePolicyQueryStringsConfig.h:105