AWS SDK for C++  1.9.20
AWS SDK for C++
QueryArgProfile.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace CloudFront
21 {
22 namespace Model
23 {
24 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
44  inline const Aws::String& GetQueryArg() const{ return m_queryArg; }
45 
49  inline bool QueryArgHasBeenSet() const { return m_queryArgHasBeenSet; }
50 
54  inline void SetQueryArg(const Aws::String& value) { m_queryArgHasBeenSet = true; m_queryArg = value; }
55 
59  inline void SetQueryArg(Aws::String&& value) { m_queryArgHasBeenSet = true; m_queryArg = std::move(value); }
60 
64  inline void SetQueryArg(const char* value) { m_queryArgHasBeenSet = true; m_queryArg.assign(value); }
65 
69  inline QueryArgProfile& WithQueryArg(const Aws::String& value) { SetQueryArg(value); return *this;}
70 
74  inline QueryArgProfile& WithQueryArg(Aws::String&& value) { SetQueryArg(std::move(value)); return *this;}
75 
79  inline QueryArgProfile& WithQueryArg(const char* value) { SetQueryArg(value); return *this;}
80 
81 
86  inline const Aws::String& GetProfileId() const{ return m_profileId; }
87 
92  inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
93 
98  inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
99 
104  inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
105 
110  inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
111 
116  inline QueryArgProfile& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
117 
122  inline QueryArgProfile& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
123 
128  inline QueryArgProfile& WithProfileId(const char* value) { SetProfileId(value); return *this;}
129 
130  private:
131 
132  Aws::String m_queryArg;
133  bool m_queryArgHasBeenSet;
134 
135  Aws::String m_profileId;
136  bool m_profileIdHasBeenSet;
137  };
138 
139 } // namespace Model
140 } // namespace CloudFront
141 } // namespace Aws
Aws::CloudFront::Model::QueryArgProfile
Definition: QueryArgProfile.h:32
Aws::CloudFront::Model::QueryArgProfile::WithProfileId
QueryArgProfile & WithProfileId(const Aws::String &value)
Definition: QueryArgProfile.h:116
Aws::CloudFront::Model::QueryArgProfile::SetProfileId
void SetProfileId(const Aws::String &value)
Definition: QueryArgProfile.h:98
Aws::CloudFront::Model::QueryArgProfile::SetQueryArg
void SetQueryArg(Aws::String &&value)
Definition: QueryArgProfile.h:59
Aws::CloudFront::Model::QueryArgProfile::WithProfileId
QueryArgProfile & WithProfileId(Aws::String &&value)
Definition: QueryArgProfile.h:122
Aws::CloudFront::Model::QueryArgProfile::SetQueryArg
void SetQueryArg(const char *value)
Definition: QueryArgProfile.h:64
Aws::CloudFront::Model::QueryArgProfile::GetQueryArg
const Aws::String & GetQueryArg() const
Definition: QueryArgProfile.h:44
Aws::CloudFront::Model::QueryArgProfile::WithQueryArg
QueryArgProfile & WithQueryArg(Aws::String &&value)
Definition: QueryArgProfile.h:74
Aws::CloudFront::Model::QueryArgProfile::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::QueryArgProfile::GetProfileId
const Aws::String & GetProfileId() const
Definition: QueryArgProfile.h:86
Aws::CloudFront::Model::QueryArgProfile::WithProfileId
QueryArgProfile & WithProfileId(const char *value)
Definition: QueryArgProfile.h:128
Aws::CloudFront::Model::QueryArgProfile::SetProfileId
void SetProfileId(Aws::String &&value)
Definition: QueryArgProfile.h:104
Aws::CloudFront::Model::QueryArgProfile::QueryArgProfile
QueryArgProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::QueryArgProfile::WithQueryArg
QueryArgProfile & WithQueryArg(const Aws::String &value)
Definition: QueryArgProfile.h:69
AWSString.h
Aws::CloudFront::Model::QueryArgProfile::QueryArgHasBeenSet
bool QueryArgHasBeenSet() const
Definition: QueryArgProfile.h:49
Aws::CloudFront::Model::QueryArgProfile::ProfileIdHasBeenSet
bool ProfileIdHasBeenSet() const
Definition: QueryArgProfile.h:92
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::QueryArgProfile::WithQueryArg
QueryArgProfile & WithQueryArg(const char *value)
Definition: QueryArgProfile.h:79
Aws::CloudFront::Model::QueryArgProfile::SetQueryArg
void SetQueryArg(const Aws::String &value)
Definition: QueryArgProfile.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::QueryArgProfile::QueryArgProfile
QueryArgProfile()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::QueryArgProfile::SetProfileId
void SetProfileId(const char *value)
Definition: QueryArgProfile.h:110
Aws::CloudFront::Model::QueryArgProfile::operator=
QueryArgProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)