7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/SecurityHub_EXPORTS.h>
11#include <aws/securityhub/model/RecommendationError.h>
12#include <aws/securityhub/model/RecommendationStatus.h>
13#include <aws/securityhub/model/RecommendationStep.h>
14#include <aws/securityhub/model/RecommendationType.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename NextTokenT = Aws::String>
42 m_nextTokenHasBeenSet =
true;
43 m_nextToken = std::forward<NextTokenT>(value);
45 template <
typename NextTokenT = Aws::String>
58 m_recommendationTypeHasBeenSet =
true;
59 m_recommendationType = value;
72 template <
typename RecommendationStepsT = Aws::Vector<RecommendationStep>>
74 m_recommendationStepsHasBeenSet =
true;
75 m_recommendationSteps = std::forward<RecommendationStepsT>(value);
77 template <
typename RecommendationStepsT = Aws::Vector<RecommendationStep>>
82 template <
typename RecommendationStepsT = RecommendationStep>
84 m_recommendationStepsHasBeenSet =
true;
85 m_recommendationSteps.emplace_back(std::forward<RecommendationStepsT>(value));
95 template <
typename ErrorT = RecommendationError>
97 m_errorHasBeenSet =
true;
98 m_error = std::forward<ErrorT>(value);
100 template <
typename ErrorT = RecommendationError>
102 SetError(std::forward<ErrorT>(value));
113 m_statusHasBeenSet =
true;
127 template <
typename ResourceArnT = Aws::String>
129 m_resourceArnHasBeenSet =
true;
130 m_resourceArn = std::forward<ResourceArnT>(value);
132 template <
typename ResourceArnT = Aws::String>
142 template <
typename RequestIdT = Aws::String>
144 m_requestIdHasBeenSet =
true;
145 m_requestId = std::forward<RequestIdT>(value);
147 template <
typename RequestIdT = Aws::String>
162 RecommendationError m_error;
170 bool m_nextTokenHasBeenSet =
false;
171 bool m_recommendationTypeHasBeenSet =
false;
172 bool m_recommendationStepsHasBeenSet =
false;
173 bool m_errorHasBeenSet =
false;
174 bool m_statusHasBeenSet =
false;
175 bool m_resourceArnHasBeenSet =
false;
176 bool m_requestIdHasBeenSet =
false;
void SetStatus(RecommendationStatus value)
GetRecommendedPolicyV2Result & WithRecommendationType(RecommendationType value)
RecommendationStatus GetStatus() const
AWS_SECURITYHUB_API GetRecommendedPolicyV2Result()=default
const RecommendationError & GetError() const
GetRecommendedPolicyV2Result & WithStatus(RecommendationStatus value)
const Aws::String & GetRequestId() const
void SetRecommendationType(RecommendationType value)
AWS_SECURITYHUB_API GetRecommendedPolicyV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRecommendedPolicyV2Result & AddRecommendationSteps(RecommendationStepsT &&value)
RecommendationType GetRecommendationType() const
void SetRequestId(RequestIdT &&value)
const Aws::Vector< RecommendationStep > & GetRecommendationSteps() const
void SetError(ErrorT &&value)
AWS_SECURITYHUB_API GetRecommendedPolicyV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetRecommendedPolicyV2Result & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
void SetResourceArn(ResourceArnT &&value)
const Aws::String & GetResourceArn() const
GetRecommendedPolicyV2Result & WithResourceArn(ResourceArnT &&value)
GetRecommendedPolicyV2Result & WithError(ErrorT &&value)
GetRecommendedPolicyV2Result & WithNextToken(NextTokenT &&value)
GetRecommendedPolicyV2Result & WithRecommendationSteps(RecommendationStepsT &&value)
void SetRecommendationSteps(RecommendationStepsT &&value)
const Aws::String & GetNextToken() 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