AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateIpamResourceDiscoveryRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace EC2
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "AssociateIpamResourceDiscovery"; }
34
35 AWS_EC2_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
49 inline bool GetDryRun() const{ return m_dryRun; }
50 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
51 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
52 inline AssociateIpamResourceDiscoveryRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
54
56
59 inline const Aws::String& GetIpamId() const{ return m_ipamId; }
60 inline bool IpamIdHasBeenSet() const { return m_ipamIdHasBeenSet; }
61 inline void SetIpamId(const Aws::String& value) { m_ipamIdHasBeenSet = true; m_ipamId = value; }
62 inline void SetIpamId(Aws::String&& value) { m_ipamIdHasBeenSet = true; m_ipamId = std::move(value); }
63 inline void SetIpamId(const char* value) { m_ipamIdHasBeenSet = true; m_ipamId.assign(value); }
64 inline AssociateIpamResourceDiscoveryRequest& WithIpamId(const Aws::String& value) { SetIpamId(value); return *this;}
65 inline AssociateIpamResourceDiscoveryRequest& WithIpamId(Aws::String&& value) { SetIpamId(std::move(value)); return *this;}
66 inline AssociateIpamResourceDiscoveryRequest& WithIpamId(const char* value) { SetIpamId(value); return *this;}
68
70
73 inline const Aws::String& GetIpamResourceDiscoveryId() const{ return m_ipamResourceDiscoveryId; }
74 inline bool IpamResourceDiscoveryIdHasBeenSet() const { return m_ipamResourceDiscoveryIdHasBeenSet; }
75 inline void SetIpamResourceDiscoveryId(const Aws::String& value) { m_ipamResourceDiscoveryIdHasBeenSet = true; m_ipamResourceDiscoveryId = value; }
76 inline void SetIpamResourceDiscoveryId(Aws::String&& value) { m_ipamResourceDiscoveryIdHasBeenSet = true; m_ipamResourceDiscoveryId = std::move(value); }
77 inline void SetIpamResourceDiscoveryId(const char* value) { m_ipamResourceDiscoveryIdHasBeenSet = true; m_ipamResourceDiscoveryId.assign(value); }
82
84
87 inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
88 inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
89 inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
90 inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
93 inline AssociateIpamResourceDiscoveryRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
94 inline AssociateIpamResourceDiscoveryRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
96
98
101 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
102 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
103 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
104 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
105 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
107 inline AssociateIpamResourceDiscoveryRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
108 inline AssociateIpamResourceDiscoveryRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
110 private:
111
112 bool m_dryRun;
113 bool m_dryRunHasBeenSet = false;
114
115 Aws::String m_ipamId;
116 bool m_ipamIdHasBeenSet = false;
117
118 Aws::String m_ipamResourceDiscoveryId;
119 bool m_ipamResourceDiscoveryIdHasBeenSet = false;
120
121 Aws::Vector<TagSpecification> m_tagSpecifications;
122 bool m_tagSpecificationsHasBeenSet = false;
123
124 Aws::String m_clientToken;
125 bool m_clientTokenHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace EC2
130} // namespace Aws
AssociateIpamResourceDiscoveryRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
AssociateIpamResourceDiscoveryRequest & WithClientToken(const char *value)
AssociateIpamResourceDiscoveryRequest & WithClientToken(Aws::String &&value)
AssociateIpamResourceDiscoveryRequest & WithIpamId(Aws::String &&value)
AssociateIpamResourceDiscoveryRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
AssociateIpamResourceDiscoveryRequest & WithIpamId(const char *value)
AssociateIpamResourceDiscoveryRequest & AddTagSpecifications(const TagSpecification &value)
AssociateIpamResourceDiscoveryRequest & AddTagSpecifications(TagSpecification &&value)
AssociateIpamResourceDiscoveryRequest & WithDryRun(bool value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
AssociateIpamResourceDiscoveryRequest & WithIpamResourceDiscoveryId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AssociateIpamResourceDiscoveryRequest & WithClientToken(const Aws::String &value)
AssociateIpamResourceDiscoveryRequest & WithIpamResourceDiscoveryId(const char *value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
AssociateIpamResourceDiscoveryRequest & WithIpamResourceDiscoveryId(const Aws::String &value)
AssociateIpamResourceDiscoveryRequest & WithIpamId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector