AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeNetworkInterfaceAttributeRequest.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/NetworkInterfaceAttribute.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EC2
16{
17namespace 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 "DescribeNetworkInterfaceAttribute"; }
36
37 AWS_EC2_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
51 inline bool GetDryRun() const{ return m_dryRun; }
52 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
53 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
54 inline DescribeNetworkInterfaceAttributeRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
56
58
61 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
62 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
63 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
64 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
65 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
70
72
75 inline const NetworkInterfaceAttribute& GetAttribute() const{ return m_attribute; }
76 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
77 inline void SetAttribute(const NetworkInterfaceAttribute& value) { m_attributeHasBeenSet = true; m_attribute = value; }
78 inline void SetAttribute(NetworkInterfaceAttribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
82 private:
83
84 bool m_dryRun;
85 bool m_dryRunHasBeenSet = false;
86
87 Aws::String m_networkInterfaceId;
88 bool m_networkInterfaceIdHasBeenSet = false;
89
90 NetworkInterfaceAttribute m_attribute;
91 bool m_attributeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace EC2
96} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
DescribeNetworkInterfaceAttributeRequest & WithNetworkInterfaceId(Aws::String &&value)
DescribeNetworkInterfaceAttributeRequest & WithAttribute(const NetworkInterfaceAttribute &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeNetworkInterfaceAttributeRequest & WithAttribute(NetworkInterfaceAttribute &&value)
DescribeNetworkInterfaceAttributeRequest & WithNetworkInterfaceId(const char *value)
DescribeNetworkInterfaceAttributeRequest & WithDryRun(bool value)
DescribeNetworkInterfaceAttributeRequest & WithNetworkInterfaceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String