AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyTransitGatewayRequest.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/ModifyTransitGatewayOptions.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 "ModifyTransitGateway"; }
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
44 inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; }
45 inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; }
46 inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; }
47 inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); }
48 inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); }
50 inline ModifyTransitGatewayRequest& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;}
51 inline ModifyTransitGatewayRequest& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline ModifyTransitGatewayRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline ModifyTransitGatewayRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline ModifyTransitGatewayRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const ModifyTransitGatewayOptions& GetOptions() const{ return m_options; }
73 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
74 inline void SetOptions(const ModifyTransitGatewayOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
75 inline void SetOptions(ModifyTransitGatewayOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
77 inline ModifyTransitGatewayRequest& WithOptions(ModifyTransitGatewayOptions&& value) { SetOptions(std::move(value)); return *this;}
79
81
87 inline bool GetDryRun() const{ return m_dryRun; }
88 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
89 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
90 inline ModifyTransitGatewayRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
92 private:
93
94 Aws::String m_transitGatewayId;
95 bool m_transitGatewayIdHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
101 bool m_optionsHasBeenSet = false;
102
103 bool m_dryRun;
104 bool m_dryRunHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace EC2
109} // namespace Aws
ModifyTransitGatewayRequest & WithTransitGatewayId(const Aws::String &value)
ModifyTransitGatewayRequest & WithTransitGatewayId(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const ModifyTransitGatewayOptions & GetOptions() const
ModifyTransitGatewayRequest & WithTransitGatewayId(const char *value)
ModifyTransitGatewayRequest & WithDescription(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyTransitGatewayRequest & WithDescription(const Aws::String &value)
ModifyTransitGatewayRequest & WithDryRun(bool value)
ModifyTransitGatewayRequest & WithOptions(const ModifyTransitGatewayOptions &value)
ModifyTransitGatewayRequest & WithDescription(const char *value)
void SetOptions(const ModifyTransitGatewayOptions &value)
virtual const char * GetServiceRequestName() const override
ModifyTransitGatewayRequest & WithOptions(ModifyTransitGatewayOptions &&value)
void SetOptions(ModifyTransitGatewayOptions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String