7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/Policy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename PolicyT = Policy>
42 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
43 template<
typename PolicyT = Policy>
52 template<
typename PolicyArnT = Aws::String>
53 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
54 template<
typename PolicyArnT = Aws::String>
61 template<
typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
63 template<
typename RequestIdT = Aws::String>
69 bool m_policyHasBeenSet =
false;
72 bool m_policyArnHasBeenSet =
false;
75 bool m_requestIdHasBeenSet =
false;
GetPolicyResult & WithPolicy(PolicyT &&value)
GetPolicyResult & WithPolicyArn(PolicyArnT &&value)
void SetPolicy(PolicyT &&value)
void SetPolicyArn(PolicyArnT &&value)
void SetRequestId(RequestIdT &&value)
AWS_FMS_API GetPolicyResult()=default
AWS_FMS_API GetPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Policy & GetPolicy() const
GetPolicyResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetPolicyArn() const
AWS_FMS_API GetPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue