AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyAvailabilityZoneGroupRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ModifyAvailabilityZoneOptInStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EC2
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyAvailabilityZoneGroup"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
45 inline const Aws::String& GetGroupName() const{ return m_groupName; }
46 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
47 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
48 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
49 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
50 inline ModifyAvailabilityZoneGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
51 inline ModifyAvailabilityZoneGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
52 inline ModifyAvailabilityZoneGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
54
56
61 inline const ModifyAvailabilityZoneOptInStatus& GetOptInStatus() const{ return m_optInStatus; }
62 inline bool OptInStatusHasBeenSet() const { return m_optInStatusHasBeenSet; }
63 inline void SetOptInStatus(const ModifyAvailabilityZoneOptInStatus& value) { m_optInStatusHasBeenSet = true; m_optInStatus = value; }
64 inline void SetOptInStatus(ModifyAvailabilityZoneOptInStatus&& value) { m_optInStatusHasBeenSet = true; m_optInStatus = std::move(value); }
68
70
76 inline bool GetDryRun() const{ return m_dryRun; }
77 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
78 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
79 inline ModifyAvailabilityZoneGroupRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
81 private:
82
83 Aws::String m_groupName;
84 bool m_groupNameHasBeenSet = false;
85
87 bool m_optInStatusHasBeenSet = false;
88
89 bool m_dryRun;
90 bool m_dryRunHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace EC2
95} // namespace Aws
ModifyAvailabilityZoneGroupRequest & WithGroupName(const Aws::String &value)
ModifyAvailabilityZoneGroupRequest & WithOptInStatus(const ModifyAvailabilityZoneOptInStatus &value)
ModifyAvailabilityZoneGroupRequest & WithOptInStatus(ModifyAvailabilityZoneOptInStatus &&value)
void SetOptInStatus(const ModifyAvailabilityZoneOptInStatus &value)
const ModifyAvailabilityZoneOptInStatus & GetOptInStatus() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyAvailabilityZoneGroupRequest & WithDryRun(bool value)
ModifyAvailabilityZoneGroupRequest & WithGroupName(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyAvailabilityZoneGroupRequest & WithGroupName(Aws::String &&value)
void SetOptInStatus(ModifyAvailabilityZoneOptInStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String