AWS SDK for C++  1.9.124
AWS SDK for C++
CloudFrontOriginAccessIdentitySummary.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 
45  inline const Aws::String& GetId() const{ return m_id; }
46 
51  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 
57  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
58 
63  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 
69  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
70 
75  inline CloudFrontOriginAccessIdentitySummary& WithId(const Aws::String& value) { SetId(value); return *this;}
76 
81  inline CloudFrontOriginAccessIdentitySummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
82 
87  inline CloudFrontOriginAccessIdentitySummary& WithId(const char* value) { SetId(value); return *this;}
88 
89 
95  inline const Aws::String& GetS3CanonicalUserId() const{ return m_s3CanonicalUserId; }
96 
102  inline bool S3CanonicalUserIdHasBeenSet() const { return m_s3CanonicalUserIdHasBeenSet; }
103 
109  inline void SetS3CanonicalUserId(const Aws::String& value) { m_s3CanonicalUserIdHasBeenSet = true; m_s3CanonicalUserId = value; }
110 
116  inline void SetS3CanonicalUserId(Aws::String&& value) { m_s3CanonicalUserIdHasBeenSet = true; m_s3CanonicalUserId = std::move(value); }
117 
123  inline void SetS3CanonicalUserId(const char* value) { m_s3CanonicalUserIdHasBeenSet = true; m_s3CanonicalUserId.assign(value); }
124 
130  inline CloudFrontOriginAccessIdentitySummary& WithS3CanonicalUserId(const Aws::String& value) { SetS3CanonicalUserId(value); return *this;}
131 
137  inline CloudFrontOriginAccessIdentitySummary& WithS3CanonicalUserId(Aws::String&& value) { SetS3CanonicalUserId(std::move(value)); return *this;}
138 
144  inline CloudFrontOriginAccessIdentitySummary& WithS3CanonicalUserId(const char* value) { SetS3CanonicalUserId(value); return *this;}
145 
146 
151  inline const Aws::String& GetComment() const{ return m_comment; }
152 
157  inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
158 
163  inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
164 
169  inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
170 
175  inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
176 
181  inline CloudFrontOriginAccessIdentitySummary& WithComment(const Aws::String& value) { SetComment(value); return *this;}
182 
187  inline CloudFrontOriginAccessIdentitySummary& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
188 
193  inline CloudFrontOriginAccessIdentitySummary& WithComment(const char* value) { SetComment(value); return *this;}
194 
195  private:
196 
197  Aws::String m_id;
198  bool m_idHasBeenSet;
199 
200  Aws::String m_s3CanonicalUserId;
201  bool m_s3CanonicalUserIdHasBeenSet;
202 
203  Aws::String m_comment;
204  bool m_commentHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace CloudFront
209 } // namespace Aws
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::operator=
CloudFrontOriginAccessIdentitySummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::WithS3CanonicalUserId
CloudFrontOriginAccessIdentitySummary & WithS3CanonicalUserId(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentitySummary.h:130
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::SetId
void SetId(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentitySummary.h:63
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::SetS3CanonicalUserId
void SetS3CanonicalUserId(const char *value)
Definition: CloudFrontOriginAccessIdentitySummary.h:123
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::WithS3CanonicalUserId
CloudFrontOriginAccessIdentitySummary & WithS3CanonicalUserId(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentitySummary.h:137
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::SetComment
void SetComment(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentitySummary.h:169
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::SetS3CanonicalUserId
void SetS3CanonicalUserId(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentitySummary.h:116
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::WithComment
CloudFrontOriginAccessIdentitySummary & WithComment(const char *value)
Definition: CloudFrontOriginAccessIdentitySummary.h:193
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::WithId
CloudFrontOriginAccessIdentitySummary & WithId(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentitySummary.h:75
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::SetComment
void SetComment(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentitySummary.h:163
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::GetS3CanonicalUserId
const Aws::String & GetS3CanonicalUserId() const
Definition: CloudFrontOriginAccessIdentitySummary.h:95
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::SetS3CanonicalUserId
void SetS3CanonicalUserId(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentitySummary.h:109
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::WithId
CloudFrontOriginAccessIdentitySummary & WithId(const char *value)
Definition: CloudFrontOriginAccessIdentitySummary.h:87
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::SetId
void SetId(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentitySummary.h:57
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::GetId
const Aws::String & GetId() const
Definition: CloudFrontOriginAccessIdentitySummary.h:45
AWSString.h
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::WithComment
CloudFrontOriginAccessIdentitySummary & WithComment(const Aws::String &value)
Definition: CloudFrontOriginAccessIdentitySummary.h:181
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary
Definition: CloudFrontOriginAccessIdentitySummary.h:32
CloudFront_EXPORTS.h
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::S3CanonicalUserIdHasBeenSet
bool S3CanonicalUserIdHasBeenSet() const
Definition: CloudFrontOriginAccessIdentitySummary.h:102
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::WithId
CloudFrontOriginAccessIdentitySummary & WithId(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentitySummary.h:81
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::GetComment
const Aws::String & GetComment() const
Definition: CloudFrontOriginAccessIdentitySummary.h:151
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: CloudFrontOriginAccessIdentitySummary.h:51
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::SetId
void SetId(const char *value)
Definition: CloudFrontOriginAccessIdentitySummary.h:69
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::WithS3CanonicalUserId
CloudFrontOriginAccessIdentitySummary & WithS3CanonicalUserId(const char *value)
Definition: CloudFrontOriginAccessIdentitySummary.h:144
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::CloudFrontOriginAccessIdentitySummary
CloudFrontOriginAccessIdentitySummary()
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::WithComment
CloudFrontOriginAccessIdentitySummary & WithComment(Aws::String &&value)
Definition: CloudFrontOriginAccessIdentitySummary.h:187
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::SetComment
void SetComment(const char *value)
Definition: CloudFrontOriginAccessIdentitySummary.h:175
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::CloudFrontOriginAccessIdentitySummary
CloudFrontOriginAccessIdentitySummary(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::CloudFrontOriginAccessIdentitySummary::CommentHasBeenSet
bool CommentHasBeenSet() const
Definition: CloudFrontOriginAccessIdentitySummary.h:157