AWS SDK for C++  1.9.123
AWS SDK for C++
ChangeResourceRecordSetsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Route53
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ChangeResourceRecordSets"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
44  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
45 
50  inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
51 
56  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
57 
62  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
63 
68  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
69 
74  inline ChangeResourceRecordSetsRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
75 
80  inline ChangeResourceRecordSetsRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
81 
86  inline ChangeResourceRecordSetsRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
87 
88 
93  inline const ChangeBatch& GetChangeBatch() const{ return m_changeBatch; }
94 
99  inline bool ChangeBatchHasBeenSet() const { return m_changeBatchHasBeenSet; }
100 
105  inline void SetChangeBatch(const ChangeBatch& value) { m_changeBatchHasBeenSet = true; m_changeBatch = value; }
106 
111  inline void SetChangeBatch(ChangeBatch&& value) { m_changeBatchHasBeenSet = true; m_changeBatch = std::move(value); }
112 
117  inline ChangeResourceRecordSetsRequest& WithChangeBatch(const ChangeBatch& value) { SetChangeBatch(value); return *this;}
118 
123  inline ChangeResourceRecordSetsRequest& WithChangeBatch(ChangeBatch&& value) { SetChangeBatch(std::move(value)); return *this;}
124 
125  private:
126 
127  Aws::String m_hostedZoneId;
128  bool m_hostedZoneIdHasBeenSet;
129 
130  ChangeBatch m_changeBatch;
131  bool m_changeBatchHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace Route53
136 } // namespace Aws
Aws::Route53::Model::ChangeResourceRecordSetsRequest::HostedZoneIdHasBeenSet
bool HostedZoneIdHasBeenSet() const
Definition: ChangeResourceRecordSetsRequest.h:50
Aws::Route53::Model::ChangeResourceRecordSetsRequest::SetChangeBatch
void SetChangeBatch(const ChangeBatch &value)
Definition: ChangeResourceRecordSetsRequest.h:105
Aws::Route53::Route53Request
Definition: Route53Request.h:17
Route53Request.h
Aws::Route53::Model::ChangeResourceRecordSetsRequest::SetChangeBatch
void SetChangeBatch(ChangeBatch &&value)
Definition: ChangeResourceRecordSetsRequest.h:111
Aws::Route53::Model::ChangeResourceRecordSetsRequest::WithHostedZoneId
ChangeResourceRecordSetsRequest & WithHostedZoneId(const Aws::String &value)
Definition: ChangeResourceRecordSetsRequest.h:74
Aws::Route53::Model::ChangeResourceRecordSetsRequest::SetHostedZoneId
void SetHostedZoneId(Aws::String &&value)
Definition: ChangeResourceRecordSetsRequest.h:62
Aws::Route53::Model::ChangeResourceRecordSetsRequest::ChangeBatchHasBeenSet
bool ChangeBatchHasBeenSet() const
Definition: ChangeResourceRecordSetsRequest.h:99
Aws::Route53::Model::ChangeResourceRecordSetsRequest::SetHostedZoneId
void SetHostedZoneId(const char *value)
Definition: ChangeResourceRecordSetsRequest.h:68
Aws::Route53::Model::ChangeResourceRecordSetsRequest::WithHostedZoneId
ChangeResourceRecordSetsRequest & WithHostedZoneId(const char *value)
Definition: ChangeResourceRecordSetsRequest.h:86
Aws::Route53::Model::ChangeResourceRecordSetsRequest::WithChangeBatch
ChangeResourceRecordSetsRequest & WithChangeBatch(ChangeBatch &&value)
Definition: ChangeResourceRecordSetsRequest.h:123
AWSString.h
Aws::Route53::Model::ChangeResourceRecordSetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53::Model::ChangeResourceRecordSetsRequest::WithHostedZoneId
ChangeResourceRecordSetsRequest & WithHostedZoneId(Aws::String &&value)
Definition: ChangeResourceRecordSetsRequest.h:80
Aws::Route53::Model::ChangeResourceRecordSetsRequest::ChangeResourceRecordSetsRequest
ChangeResourceRecordSetsRequest()
Aws::Route53::Model::ChangeResourceRecordSetsRequest
Definition: ChangeResourceRecordSetsRequest.h:27
Aws
Definition: AccessManagementClient.h:15
Aws::Route53::Model::ChangeBatch
Definition: ChangeBatch.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53::Model::ChangeResourceRecordSetsRequest::SetHostedZoneId
void SetHostedZoneId(const Aws::String &value)
Definition: ChangeResourceRecordSetsRequest.h:56
Aws::Route53::Model::ChangeResourceRecordSetsRequest::GetChangeBatch
const ChangeBatch & GetChangeBatch() const
Definition: ChangeResourceRecordSetsRequest.h:93
Route53_EXPORTS.h
Aws::Route53::Model::ChangeResourceRecordSetsRequest::GetHostedZoneId
const Aws::String & GetHostedZoneId() const
Definition: ChangeResourceRecordSetsRequest.h:44
Aws::Route53::Model::ChangeResourceRecordSetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ChangeResourceRecordSetsRequest.h:35
Aws::Route53::Model::ChangeResourceRecordSetsRequest::WithChangeBatch
ChangeResourceRecordSetsRequest & WithChangeBatch(const ChangeBatch &value)
Definition: ChangeResourceRecordSetsRequest.h:117
ChangeBatch.h
AWS_ROUTE53_API
#define AWS_ROUTE53_API
Definition: Route53_EXPORTS.h:28