7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
12#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
13#include <aws/resiliencehubv2/model/AssociatedSystem.h>
18namespace resiliencehubv2 {
39 template <
typename V1AppArnT = Aws::String>
41 m_v1AppArnHasBeenSet =
true;
42 m_v1AppArn = std::forward<V1AppArnT>(value);
44 template <
typename V1AppArnT = Aws::String>
55 template <
typename PolicyArnT = Aws::String>
57 m_policyArnHasBeenSet =
true;
58 m_policyArn = std::forward<PolicyArnT>(value);
60 template <
typename PolicyArnT = Aws::String>
71 template <
typename KmsKeyIdT = Aws::String>
73 m_kmsKeyIdHasBeenSet =
true;
74 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
76 template <
typename KmsKeyIdT = Aws::String>
90 m_skipManuallyAddedResourcesHasBeenSet =
true;
91 m_skipManuallyAddedResources = value;
105 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
107 m_associatedSystemsHasBeenSet =
true;
108 m_associatedSystems = std::forward<AssociatedSystemsT>(value);
110 template <
typename AssociatedSystemsT = Aws::Vector<AssociatedSystem>>
115 template <
typename AssociatedSystemsT = AssociatedSystem>
117 m_associatedSystemsHasBeenSet =
true;
118 m_associatedSystems.emplace_back(std::forward<AssociatedSystemsT>(value));
127 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 m_tagsHasBeenSet =
true;
130 m_tags = std::forward<TagsT>(value);
132 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 SetTags(std::forward<TagsT>(value));
137 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
139 m_tagsHasBeenSet =
true;
140 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
149 template <
typename ClientTokenT = Aws::String>
151 m_clientTokenHasBeenSet =
true;
152 m_clientToken = std::forward<ClientTokenT>(value);
154 template <
typename ClientTokenT = Aws::String>
167 bool m_skipManuallyAddedResources{
false};
174 bool m_v1AppArnHasBeenSet =
false;
175 bool m_policyArnHasBeenSet =
false;
176 bool m_kmsKeyIdHasBeenSet =
false;
177 bool m_skipManuallyAddedResourcesHasBeenSet =
false;
178 bool m_associatedSystemsHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
180 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
const Aws::String & GetV1AppArn() const
AWS_RESILIENCEHUBV2_API ImportAppRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
ImportAppRequest & WithPolicyArn(PolicyArnT &&value)
bool SkipManuallyAddedResourcesHasBeenSet() const
bool GetSkipManuallyAddedResources() const
ImportAppRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
void SetAssociatedSystems(AssociatedSystemsT &&value)
ImportAppRequest & WithClientToken(ClientTokenT &&value)
bool V1AppArnHasBeenSet() const
ImportAppRequest & WithSkipManuallyAddedResources(bool value)
void SetSkipManuallyAddedResources(bool value)
bool KmsKeyIdHasBeenSet() const
ImportAppRequest & WithKmsKeyId(KmsKeyIdT &&value)
void SetPolicyArn(PolicyArnT &&value)
ImportAppRequest & WithV1AppArn(V1AppArnT &&value)
const Aws::String & GetClientToken() const
ImportAppRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
ImportAppRequest & AddAssociatedSystems(AssociatedSystemsT &&value)
const Aws::Vector< AssociatedSystem > & GetAssociatedSystems() const
const Aws::String & GetKmsKeyId() const
bool AssociatedSystemsHasBeenSet() const
ImportAppRequest & WithAssociatedSystems(AssociatedSystemsT &&value)
bool TagsHasBeenSet() const
void SetV1AppArn(V1AppArnT &&value)
const Aws::String & GetPolicyArn() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool PolicyArnHasBeenSet() const
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