AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyInstanceProfileRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DatabaseMigrationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATABASEMIGRATIONSERVICE_API ModifyInstanceProfileRequest();
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 "ModifyInstanceProfile"; }
32
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const Aws::String& GetInstanceProfileIdentifier() const{ return m_instanceProfileIdentifier; }
45 inline bool InstanceProfileIdentifierHasBeenSet() const { return m_instanceProfileIdentifierHasBeenSet; }
46 inline void SetInstanceProfileIdentifier(const Aws::String& value) { m_instanceProfileIdentifierHasBeenSet = true; m_instanceProfileIdentifier = value; }
47 inline void SetInstanceProfileIdentifier(Aws::String&& value) { m_instanceProfileIdentifierHasBeenSet = true; m_instanceProfileIdentifier = std::move(value); }
48 inline void SetInstanceProfileIdentifier(const char* value) { m_instanceProfileIdentifierHasBeenSet = true; m_instanceProfileIdentifier.assign(value); }
53
55
58 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
59 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
60 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
61 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
62 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
64 inline ModifyInstanceProfileRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
65 inline ModifyInstanceProfileRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
67
69
77 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
78 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
79 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
80 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
81 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
82 inline ModifyInstanceProfileRequest& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
83 inline ModifyInstanceProfileRequest& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
84 inline ModifyInstanceProfileRequest& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
86
88
94 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
95 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
96 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
99
101
109 inline const Aws::String& GetNetworkType() const{ return m_networkType; }
110 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
111 inline void SetNetworkType(const Aws::String& value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
112 inline void SetNetworkType(Aws::String&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); }
113 inline void SetNetworkType(const char* value) { m_networkTypeHasBeenSet = true; m_networkType.assign(value); }
114 inline ModifyInstanceProfileRequest& WithNetworkType(const Aws::String& value) { SetNetworkType(value); return *this;}
115 inline ModifyInstanceProfileRequest& WithNetworkType(Aws::String&& value) { SetNetworkType(std::move(value)); return *this;}
116 inline ModifyInstanceProfileRequest& WithNetworkType(const char* value) { SetNetworkType(value); return *this;}
118
120
123 inline const Aws::String& GetInstanceProfileName() const{ return m_instanceProfileName; }
124 inline bool InstanceProfileNameHasBeenSet() const { return m_instanceProfileNameHasBeenSet; }
125 inline void SetInstanceProfileName(const Aws::String& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = value; }
126 inline void SetInstanceProfileName(Aws::String&& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = std::move(value); }
127 inline void SetInstanceProfileName(const char* value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName.assign(value); }
130 inline ModifyInstanceProfileRequest& WithInstanceProfileName(const char* value) { SetInstanceProfileName(value); return *this;}
132
134
137 inline const Aws::String& GetDescription() const{ return m_description; }
138 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
139 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
140 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
141 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
142 inline ModifyInstanceProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
143 inline ModifyInstanceProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
144 inline ModifyInstanceProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
146
148
151 inline const Aws::String& GetSubnetGroupIdentifier() const{ return m_subnetGroupIdentifier; }
152 inline bool SubnetGroupIdentifierHasBeenSet() const { return m_subnetGroupIdentifierHasBeenSet; }
153 inline void SetSubnetGroupIdentifier(const Aws::String& value) { m_subnetGroupIdentifierHasBeenSet = true; m_subnetGroupIdentifier = value; }
154 inline void SetSubnetGroupIdentifier(Aws::String&& value) { m_subnetGroupIdentifierHasBeenSet = true; m_subnetGroupIdentifier = std::move(value); }
155 inline void SetSubnetGroupIdentifier(const char* value) { m_subnetGroupIdentifierHasBeenSet = true; m_subnetGroupIdentifier.assign(value); }
158 inline ModifyInstanceProfileRequest& WithSubnetGroupIdentifier(const char* value) { SetSubnetGroupIdentifier(value); return *this;}
160
162
166 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroups() const{ return m_vpcSecurityGroups; }
167 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
168 inline void SetVpcSecurityGroups(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = value; }
169 inline void SetVpcSecurityGroups(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::move(value); }
172 inline ModifyInstanceProfileRequest& AddVpcSecurityGroups(const Aws::String& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; }
173 inline ModifyInstanceProfileRequest& AddVpcSecurityGroups(Aws::String&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; }
174 inline ModifyInstanceProfileRequest& AddVpcSecurityGroups(const char* value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; }
176 private:
177
178 Aws::String m_instanceProfileIdentifier;
179 bool m_instanceProfileIdentifierHasBeenSet = false;
180
181 Aws::String m_availabilityZone;
182 bool m_availabilityZoneHasBeenSet = false;
183
184 Aws::String m_kmsKeyArn;
185 bool m_kmsKeyArnHasBeenSet = false;
186
187 bool m_publiclyAccessible;
188 bool m_publiclyAccessibleHasBeenSet = false;
189
190 Aws::String m_networkType;
191 bool m_networkTypeHasBeenSet = false;
192
193 Aws::String m_instanceProfileName;
194 bool m_instanceProfileNameHasBeenSet = false;
195
196 Aws::String m_description;
197 bool m_descriptionHasBeenSet = false;
198
199 Aws::String m_subnetGroupIdentifier;
200 bool m_subnetGroupIdentifierHasBeenSet = false;
201
202 Aws::Vector<Aws::String> m_vpcSecurityGroups;
203 bool m_vpcSecurityGroupsHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace DatabaseMigrationService
208} // namespace Aws
ModifyInstanceProfileRequest & WithInstanceProfileName(const char *value)
ModifyInstanceProfileRequest & WithVpcSecurityGroups(const Aws::Vector< Aws::String > &value)
ModifyInstanceProfileRequest & WithInstanceProfileIdentifier(const Aws::String &value)
ModifyInstanceProfileRequest & WithInstanceProfileIdentifier(const char *value)
ModifyInstanceProfileRequest & WithSubnetGroupIdentifier(const char *value)
ModifyInstanceProfileRequest & WithKmsKeyArn(const Aws::String &value)
ModifyInstanceProfileRequest & WithDescription(const Aws::String &value)
ModifyInstanceProfileRequest & WithAvailabilityZone(const Aws::String &value)
ModifyInstanceProfileRequest & AddVpcSecurityGroups(const Aws::String &value)
ModifyInstanceProfileRequest & WithNetworkType(const Aws::String &value)
ModifyInstanceProfileRequest & WithNetworkType(Aws::String &&value)
ModifyInstanceProfileRequest & WithInstanceProfileName(const Aws::String &value)
ModifyInstanceProfileRequest & WithDescription(Aws::String &&value)
ModifyInstanceProfileRequest & WithInstanceProfileIdentifier(Aws::String &&value)
ModifyInstanceProfileRequest & WithAvailabilityZone(Aws::String &&value)
ModifyInstanceProfileRequest & AddVpcSecurityGroups(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ModifyInstanceProfileRequest & WithSubnetGroupIdentifier(const Aws::String &value)
ModifyInstanceProfileRequest & WithKmsKeyArn(Aws::String &&value)
ModifyInstanceProfileRequest & WithSubnetGroupIdentifier(Aws::String &&value)
ModifyInstanceProfileRequest & WithVpcSecurityGroups(Aws::Vector< Aws::String > &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyInstanceProfileRequest & WithAvailabilityZone(const char *value)
ModifyInstanceProfileRequest & WithInstanceProfileName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector