AWS SDK for C++  1.9.20
AWS SDK for C++
OriginRequestPolicyQueryStringsConfig.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 
34  {
35  public:
39 
40  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41 
42 
56  inline const OriginRequestPolicyQueryStringBehavior& GetQueryStringBehavior() const{ return m_queryStringBehavior; }
57 
71  inline bool QueryStringBehaviorHasBeenSet() const { return m_queryStringBehaviorHasBeenSet; }
72 
86  inline void SetQueryStringBehavior(const OriginRequestPolicyQueryStringBehavior& value) { m_queryStringBehaviorHasBeenSet = true; m_queryStringBehavior = value; }
87 
101  inline void SetQueryStringBehavior(OriginRequestPolicyQueryStringBehavior&& value) { m_queryStringBehaviorHasBeenSet = true; m_queryStringBehavior = std::move(value); }
102 
116  inline OriginRequestPolicyQueryStringsConfig& WithQueryStringBehavior(const OriginRequestPolicyQueryStringBehavior& value) { SetQueryStringBehavior(value); return *this;}
117 
131  inline OriginRequestPolicyQueryStringsConfig& WithQueryStringBehavior(OriginRequestPolicyQueryStringBehavior&& value) { SetQueryStringBehavior(std::move(value)); return *this;}
132 
133 
138  inline const QueryStringNames& GetQueryStrings() const{ return m_queryStrings; }
139 
144  inline bool QueryStringsHasBeenSet() const { return m_queryStringsHasBeenSet; }
145 
150  inline void SetQueryStrings(const QueryStringNames& value) { m_queryStringsHasBeenSet = true; m_queryStrings = value; }
151 
156  inline void SetQueryStrings(QueryStringNames&& value) { m_queryStringsHasBeenSet = true; m_queryStrings = std::move(value); }
157 
162  inline OriginRequestPolicyQueryStringsConfig& WithQueryStrings(const QueryStringNames& value) { SetQueryStrings(value); return *this;}
163 
168  inline OriginRequestPolicyQueryStringsConfig& WithQueryStrings(QueryStringNames&& value) { SetQueryStrings(std::move(value)); return *this;}
169 
170  private:
171 
172  OriginRequestPolicyQueryStringBehavior m_queryStringBehavior;
173  bool m_queryStringBehaviorHasBeenSet;
174 
175  QueryStringNames m_queryStrings;
176  bool m_queryStringsHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace CloudFront
181 } // namespace Aws
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::SetQueryStringBehavior
void SetQueryStringBehavior(OriginRequestPolicyQueryStringBehavior &&value)
Definition: OriginRequestPolicyQueryStringsConfig.h:101
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::QueryStringsHasBeenSet
bool QueryStringsHasBeenSet() const
Definition: OriginRequestPolicyQueryStringsConfig.h:144
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::OriginRequestPolicyQueryStringsConfig
OriginRequestPolicyQueryStringsConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::operator=
OriginRequestPolicyQueryStringsConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::WithQueryStrings
OriginRequestPolicyQueryStringsConfig & WithQueryStrings(QueryStringNames &&value)
Definition: OriginRequestPolicyQueryStringsConfig.h:168
OriginRequestPolicyQueryStringBehavior.h
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::GetQueryStringBehavior
const OriginRequestPolicyQueryStringBehavior & GetQueryStringBehavior() const
Definition: OriginRequestPolicyQueryStringsConfig.h:56
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::OriginRequestPolicyQueryStringsConfig
OriginRequestPolicyQueryStringsConfig()
Aws::CloudFront::Model::QueryStringNames
Definition: QueryStringNames.h:32
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig
Definition: OriginRequestPolicyQueryStringsConfig.h:34
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::WithQueryStrings
OriginRequestPolicyQueryStringsConfig & WithQueryStrings(const QueryStringNames &value)
Definition: OriginRequestPolicyQueryStringsConfig.h:162
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::WithQueryStringBehavior
OriginRequestPolicyQueryStringsConfig & WithQueryStringBehavior(OriginRequestPolicyQueryStringBehavior &&value)
Definition: OriginRequestPolicyQueryStringsConfig.h:131
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::GetQueryStrings
const QueryStringNames & GetQueryStrings() const
Definition: OriginRequestPolicyQueryStringsConfig.h:138
Aws::CloudFront::Model::OriginRequestPolicyQueryStringBehavior
OriginRequestPolicyQueryStringBehavior
Definition: OriginRequestPolicyQueryStringBehavior.h:17
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::SetQueryStrings
void SetQueryStrings(const QueryStringNames &value)
Definition: OriginRequestPolicyQueryStringsConfig.h:150
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::SetQueryStrings
void SetQueryStrings(QueryStringNames &&value)
Definition: OriginRequestPolicyQueryStringsConfig.h:156
CloudFront_EXPORTS.h
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::SetQueryStringBehavior
void SetQueryStringBehavior(const OriginRequestPolicyQueryStringBehavior &value)
Definition: OriginRequestPolicyQueryStringsConfig.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::WithQueryStringBehavior
OriginRequestPolicyQueryStringsConfig & WithQueryStringBehavior(const OriginRequestPolicyQueryStringBehavior &value)
Definition: OriginRequestPolicyQueryStringsConfig.h:116
QueryStringNames.h
Aws::CloudFront::Model::OriginRequestPolicyQueryStringsConfig::QueryStringBehaviorHasBeenSet
bool QueryStringBehaviorHasBeenSet() const
Definition: OriginRequestPolicyQueryStringsConfig.h:71