7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace DatabaseMigrationService
50 template<
typename InstanceProfileArnT = Aws::String>
51 void SetInstanceProfileArn(InstanceProfileArnT&& value) { m_instanceProfileArnHasBeenSet =
true; m_instanceProfileArn = std::forward<InstanceProfileArnT>(value); }
52 template<
typename InstanceProfileArnT = Aws::String>
62 template<
typename AvailabilityZoneT = Aws::String>
63 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
64 template<
typename AvailabilityZoneT = Aws::String>
79 template<
typename KmsKeyArnT = Aws::String>
80 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
81 template<
typename KmsKeyArnT = Aws::String>
94 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
109 template<
typename NetworkTypeT = Aws::String>
110 void SetNetworkType(NetworkTypeT&& value) { m_networkTypeHasBeenSet =
true; m_networkType = std::forward<NetworkTypeT>(value); }
111 template<
typename NetworkTypeT = Aws::String>
121 template<
typename InstanceProfileNameT = Aws::String>
122 void SetInstanceProfileName(InstanceProfileNameT&& value) { m_instanceProfileNameHasBeenSet =
true; m_instanceProfileName = std::forward<InstanceProfileNameT>(value); }
123 template<
typename InstanceProfileNameT = Aws::String>
136 template<
typename DescriptionT = Aws::String>
137 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
138 template<
typename DescriptionT = Aws::String>
148 template<
typename InstanceProfileCreationTimeT = Aws::Utils::DateTime>
149 void SetInstanceProfileCreationTime(InstanceProfileCreationTimeT&& value) { m_instanceProfileCreationTimeHasBeenSet =
true; m_instanceProfileCreationTime = std::forward<InstanceProfileCreationTimeT>(value); }
150 template<
typename InstanceProfileCreationTimeT = Aws::Utils::DateTime>
161 template<
typename SubnetGroupIdentifierT = Aws::String>
162 void SetSubnetGroupIdentifier(SubnetGroupIdentifierT&& value) { m_subnetGroupIdentifierHasBeenSet =
true; m_subnetGroupIdentifier = std::forward<SubnetGroupIdentifierT>(value); }
163 template<
typename SubnetGroupIdentifierT = Aws::String>
174 template<
typename VpcSecurityGroupsT = Aws::Vector<Aws::String>>
175 void SetVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet =
true; m_vpcSecurityGroups = std::forward<VpcSecurityGroupsT>(value); }
176 template<
typename VpcSecurityGroupsT = Aws::Vector<Aws::String>>
178 template<
typename VpcSecurityGroupsT = Aws::String>
179 InstanceProfile&
AddVpcSecurityGroups(VpcSecurityGroupsT&& value) { m_vpcSecurityGroupsHasBeenSet =
true; m_vpcSecurityGroups.emplace_back(std::forward<VpcSecurityGroupsT>(value));
return *
this; }
184 bool m_instanceProfileArnHasBeenSet =
false;
187 bool m_availabilityZoneHasBeenSet =
false;
190 bool m_kmsKeyArnHasBeenSet =
false;
192 bool m_publiclyAccessible{
false};
193 bool m_publiclyAccessibleHasBeenSet =
false;
196 bool m_networkTypeHasBeenSet =
false;
199 bool m_instanceProfileNameHasBeenSet =
false;
202 bool m_descriptionHasBeenSet =
false;
205 bool m_instanceProfileCreationTimeHasBeenSet =
false;
208 bool m_subnetGroupIdentifierHasBeenSet =
false;
211 bool m_vpcSecurityGroupsHasBeenSet =
false;
const Aws::String & GetInstanceProfileName() const
InstanceProfile & WithNetworkType(NetworkTypeT &&value)
bool PubliclyAccessibleHasBeenSet() const
InstanceProfile & WithVpcSecurityGroups(VpcSecurityGroupsT &&value)
bool InstanceProfileNameHasBeenSet() const
void SetInstanceProfileCreationTime(InstanceProfileCreationTimeT &&value)
bool InstanceProfileCreationTimeHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
InstanceProfile & WithInstanceProfileName(InstanceProfileNameT &&value)
bool SubnetGroupIdentifierHasBeenSet() const
void SetNetworkType(NetworkTypeT &&value)
InstanceProfile & WithKmsKeyArn(KmsKeyArnT &&value)
void SetVpcSecurityGroups(VpcSecurityGroupsT &&value)
const Aws::String & GetNetworkType() const
void SetSubnetGroupIdentifier(SubnetGroupIdentifierT &&value)
AWS_DATABASEMIGRATIONSERVICE_API InstanceProfile(Aws::Utils::Json::JsonView jsonValue)
InstanceProfile & AddVpcSecurityGroups(VpcSecurityGroupsT &&value)
bool InstanceProfileArnHasBeenSet() const
InstanceProfile & WithInstanceProfileArn(InstanceProfileArnT &&value)
void SetInstanceProfileName(InstanceProfileNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API InstanceProfile()=default
InstanceProfile & WithDescription(DescriptionT &&value)
const Aws::String & GetSubnetGroupIdentifier() const
AWS_DATABASEMIGRATIONSERVICE_API InstanceProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAvailabilityZone() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
const Aws::Utils::DateTime & GetInstanceProfileCreationTime() const
const Aws::Vector< Aws::String > & GetVpcSecurityGroups() const
InstanceProfile & WithInstanceProfileCreationTime(InstanceProfileCreationTimeT &&value)
const Aws::String & GetKmsKeyArn() const
const Aws::String & GetInstanceProfileArn() const
void SetDescription(DescriptionT &&value)
void SetKmsKeyArn(KmsKeyArnT &&value)
bool KmsKeyArnHasBeenSet() const
void SetPubliclyAccessible(bool value)
InstanceProfile & WithSubnetGroupIdentifier(SubnetGroupIdentifierT &&value)
void SetInstanceProfileArn(InstanceProfileArnT &&value)
bool VpcSecurityGroupsHasBeenSet() const
bool DescriptionHasBeenSet() const
bool NetworkTypeHasBeenSet() const
const Aws::String & GetDescription() const
InstanceProfile & WithAvailabilityZone(AvailabilityZoneT &&value)
InstanceProfile & WithPubliclyAccessible(bool value)
bool GetPubliclyAccessible() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue