AWS SDK for C++  1.9.129
AWS SDK for C++
UpdateHostedZoneCommentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Route53
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateHostedZoneComment"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetId() const{ return m_id; }
43 
47  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 
52  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 
57  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 
62  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
63 
67  inline UpdateHostedZoneCommentRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
68 
72  inline UpdateHostedZoneCommentRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 
77  inline UpdateHostedZoneCommentRequest& WithId(const char* value) { SetId(value); return *this;}
78 
79 
85  inline const Aws::String& GetComment() const{ return m_comment; }
86 
92  inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
93 
99  inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
100 
106  inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
107 
113  inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
114 
120  inline UpdateHostedZoneCommentRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
121 
127  inline UpdateHostedZoneCommentRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
128 
134  inline UpdateHostedZoneCommentRequest& WithComment(const char* value) { SetComment(value); return *this;}
135 
136  private:
137 
138  Aws::String m_id;
139  bool m_idHasBeenSet;
140 
141  Aws::String m_comment;
142  bool m_commentHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace Route53
147 } // namespace Aws
Aws::Route53::Model::UpdateHostedZoneCommentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53::Route53Request
Definition: Route53Request.h:17
Aws::Route53::Model::UpdateHostedZoneCommentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateHostedZoneCommentRequest.h:34
Aws::Route53::Model::UpdateHostedZoneCommentRequest::SetComment
void SetComment(const char *value)
Definition: UpdateHostedZoneCommentRequest.h:113
Aws::Route53::Model::UpdateHostedZoneCommentRequest::SetId
void SetId(const char *value)
Definition: UpdateHostedZoneCommentRequest.h:62
Aws::Route53::Model::UpdateHostedZoneCommentRequest::WithComment
UpdateHostedZoneCommentRequest & WithComment(const char *value)
Definition: UpdateHostedZoneCommentRequest.h:134
Route53Request.h
Aws::Route53::Model::UpdateHostedZoneCommentRequest::CommentHasBeenSet
bool CommentHasBeenSet() const
Definition: UpdateHostedZoneCommentRequest.h:92
Aws::Route53::Model::UpdateHostedZoneCommentRequest::WithId
UpdateHostedZoneCommentRequest & WithId(const char *value)
Definition: UpdateHostedZoneCommentRequest.h:77
Aws::Route53::Model::UpdateHostedZoneCommentRequest::WithComment
UpdateHostedZoneCommentRequest & WithComment(const Aws::String &value)
Definition: UpdateHostedZoneCommentRequest.h:120
Aws::Route53::Model::UpdateHostedZoneCommentRequest::GetId
const Aws::String & GetId() const
Definition: UpdateHostedZoneCommentRequest.h:42
Aws::Route53::Model::UpdateHostedZoneCommentRequest::WithId
UpdateHostedZoneCommentRequest & WithId(Aws::String &&value)
Definition: UpdateHostedZoneCommentRequest.h:72
Aws::Route53::Model::UpdateHostedZoneCommentRequest::UpdateHostedZoneCommentRequest
UpdateHostedZoneCommentRequest()
AWSString.h
Aws::Route53::Model::UpdateHostedZoneCommentRequest::SetComment
void SetComment(Aws::String &&value)
Definition: UpdateHostedZoneCommentRequest.h:106
Aws::Route53::Model::UpdateHostedZoneCommentRequest::WithId
UpdateHostedZoneCommentRequest & WithId(const Aws::String &value)
Definition: UpdateHostedZoneCommentRequest.h:67
Aws::Route53::Model::UpdateHostedZoneCommentRequest::SetId
void SetId(Aws::String &&value)
Definition: UpdateHostedZoneCommentRequest.h:57
Aws::Route53::Model::UpdateHostedZoneCommentRequest::SetComment
void SetComment(const Aws::String &value)
Definition: UpdateHostedZoneCommentRequest.h:99
Aws::Route53::Model::UpdateHostedZoneCommentRequest::SetId
void SetId(const Aws::String &value)
Definition: UpdateHostedZoneCommentRequest.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::Route53::Model::UpdateHostedZoneCommentRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateHostedZoneCommentRequest.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53::Model::UpdateHostedZoneCommentRequest::GetComment
const Aws::String & GetComment() const
Definition: UpdateHostedZoneCommentRequest.h:85
Route53_EXPORTS.h
Aws::Route53::Model::UpdateHostedZoneCommentRequest::WithComment
UpdateHostedZoneCommentRequest & WithComment(Aws::String &&value)
Definition: UpdateHostedZoneCommentRequest.h:127
Aws::Route53::Model::UpdateHostedZoneCommentRequest
Definition: UpdateHostedZoneCommentRequest.h:26
AWS_ROUTE53_API
#define AWS_ROUTE53_API
Definition: Route53_EXPORTS.h:28