AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionIpamByoasnRequest.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/AsnAuthorizationContext.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 "ProvisionIpamByoasn"; }
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
47 inline bool GetDryRun() const{ return m_dryRun; }
48 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
49 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
50 inline ProvisionIpamByoasnRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
52
54
57 inline const Aws::String& GetIpamId() const{ return m_ipamId; }
58 inline bool IpamIdHasBeenSet() const { return m_ipamIdHasBeenSet; }
59 inline void SetIpamId(const Aws::String& value) { m_ipamIdHasBeenSet = true; m_ipamId = value; }
60 inline void SetIpamId(Aws::String&& value) { m_ipamIdHasBeenSet = true; m_ipamId = std::move(value); }
61 inline void SetIpamId(const char* value) { m_ipamIdHasBeenSet = true; m_ipamId.assign(value); }
62 inline ProvisionIpamByoasnRequest& WithIpamId(const Aws::String& value) { SetIpamId(value); return *this;}
63 inline ProvisionIpamByoasnRequest& WithIpamId(Aws::String&& value) { SetIpamId(std::move(value)); return *this;}
64 inline ProvisionIpamByoasnRequest& WithIpamId(const char* value) { SetIpamId(value); return *this;}
66
68
71 inline const Aws::String& GetAsn() const{ return m_asn; }
72 inline bool AsnHasBeenSet() const { return m_asnHasBeenSet; }
73 inline void SetAsn(const Aws::String& value) { m_asnHasBeenSet = true; m_asn = value; }
74 inline void SetAsn(Aws::String&& value) { m_asnHasBeenSet = true; m_asn = std::move(value); }
75 inline void SetAsn(const char* value) { m_asnHasBeenSet = true; m_asn.assign(value); }
76 inline ProvisionIpamByoasnRequest& WithAsn(const Aws::String& value) { SetAsn(value); return *this;}
77 inline ProvisionIpamByoasnRequest& WithAsn(Aws::String&& value) { SetAsn(std::move(value)); return *this;}
78 inline ProvisionIpamByoasnRequest& WithAsn(const char* value) { SetAsn(value); return *this;}
80
82
85 inline const AsnAuthorizationContext& GetAsnAuthorizationContext() const{ return m_asnAuthorizationContext; }
86 inline bool AsnAuthorizationContextHasBeenSet() const { return m_asnAuthorizationContextHasBeenSet; }
87 inline void SetAsnAuthorizationContext(const AsnAuthorizationContext& value) { m_asnAuthorizationContextHasBeenSet = true; m_asnAuthorizationContext = value; }
88 inline void SetAsnAuthorizationContext(AsnAuthorizationContext&& value) { m_asnAuthorizationContextHasBeenSet = true; m_asnAuthorizationContext = std::move(value); }
92 private:
93
94 bool m_dryRun;
95 bool m_dryRunHasBeenSet = false;
96
97 Aws::String m_ipamId;
98 bool m_ipamIdHasBeenSet = false;
99
100 Aws::String m_asn;
101 bool m_asnHasBeenSet = false;
102
103 AsnAuthorizationContext m_asnAuthorizationContext;
104 bool m_asnAuthorizationContextHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace EC2
109} // namespace Aws
ProvisionIpamByoasnRequest & WithAsnAuthorizationContext(AsnAuthorizationContext &&value)
ProvisionIpamByoasnRequest & WithAsnAuthorizationContext(const AsnAuthorizationContext &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_EC2_API Aws::String SerializePayload() const override
ProvisionIpamByoasnRequest & WithIpamId(const char *value)
ProvisionIpamByoasnRequest & WithAsn(const Aws::String &value)
void SetAsnAuthorizationContext(AsnAuthorizationContext &&value)
ProvisionIpamByoasnRequest & WithAsn(const char *value)
ProvisionIpamByoasnRequest & WithIpamId(const Aws::String &value)
void SetAsnAuthorizationContext(const AsnAuthorizationContext &value)
ProvisionIpamByoasnRequest & WithDryRun(bool value)
ProvisionIpamByoasnRequest & WithIpamId(Aws::String &&value)
ProvisionIpamByoasnRequest & WithAsn(Aws::String &&value)
const AsnAuthorizationContext & GetAsnAuthorizationContext() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String