AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLicenseEndpointRequest.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace deadline
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DEADLINE_API CreateLicenseEndpointRequest();
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 "CreateLicenseEndpoint"; }
34
35 AWS_DEADLINE_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
46 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
47 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
48 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
49 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
50 inline CreateLicenseEndpointRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
51 inline CreateLicenseEndpointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
52 inline CreateLicenseEndpointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
54
56
59 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
60 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
61 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
62 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
63 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
64 inline CreateLicenseEndpointRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
65 inline CreateLicenseEndpointRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
66 inline CreateLicenseEndpointRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
74 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
75 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
76 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
78 inline CreateLicenseEndpointRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
79 inline CreateLicenseEndpointRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
80 inline CreateLicenseEndpointRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
81 inline CreateLicenseEndpointRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
83
85
88 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
89 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
90 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
91 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
94 inline CreateLicenseEndpointRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
95 inline CreateLicenseEndpointRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
96 inline CreateLicenseEndpointRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
98
100
104 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
107 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
109 inline CreateLicenseEndpointRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
110 inline CreateLicenseEndpointRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
111 inline CreateLicenseEndpointRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
112 inline CreateLicenseEndpointRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
113 inline CreateLicenseEndpointRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
114 inline CreateLicenseEndpointRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
115 inline CreateLicenseEndpointRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
116 inline CreateLicenseEndpointRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
118 private:
119
120 Aws::String m_clientToken;
121 bool m_clientTokenHasBeenSet = false;
122
123 Aws::String m_vpcId;
124 bool m_vpcIdHasBeenSet = false;
125
126 Aws::Vector<Aws::String> m_subnetIds;
127 bool m_subnetIdsHasBeenSet = false;
128
129 Aws::Vector<Aws::String> m_securityGroupIds;
130 bool m_securityGroupIdsHasBeenSet = false;
131
133 bool m_tagsHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace deadline
138} // namespace Aws
CreateLicenseEndpointRequest & WithVpcId(const char *value)
CreateLicenseEndpointRequest & WithVpcId(Aws::String &&value)
CreateLicenseEndpointRequest & AddTags(const char *key, const char *value)
CreateLicenseEndpointRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
CreateLicenseEndpointRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateLicenseEndpointRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateLicenseEndpointRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
CreateLicenseEndpointRequest & AddSubnetIds(const Aws::String &value)
CreateLicenseEndpointRequest & AddTags(const char *key, Aws::String &&value)
CreateLicenseEndpointRequest & AddSubnetIds(Aws::String &&value)
CreateLicenseEndpointRequest & WithClientToken(const char *value)
CreateLicenseEndpointRequest & WithClientToken(const Aws::String &value)
CreateLicenseEndpointRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLicenseEndpointRequest & AddSubnetIds(const char *value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateLicenseEndpointRequest & AddTags(Aws::String &&key, const char *value)
CreateLicenseEndpointRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateLicenseEndpointRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateLicenseEndpointRequest & WithVpcId(const Aws::String &value)
CreateLicenseEndpointRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateLicenseEndpointRequest & AddSecurityGroupIds(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
CreateLicenseEndpointRequest & WithClientToken(Aws::String &&value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
CreateLicenseEndpointRequest & AddSecurityGroupIds(const Aws::String &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateLicenseEndpointRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLicenseEndpointRequest & AddSecurityGroupIds(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLicenseEndpointRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector