7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/model/Policy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
24namespace Organizations
42 template<
typename PolicyT = Policy>
43 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
44 template<
typename PolicyT = Policy>
51 template<
typename RequestIdT = Aws::String>
52 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
53 template<
typename RequestIdT = Aws::String>
59 bool m_policyHasBeenSet =
false;
62 bool m_requestIdHasBeenSet =
false;
UpdatePolicyResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
UpdatePolicyResult & WithPolicy(PolicyT &&value)
AWS_ORGANIZATIONS_API UpdatePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ORGANIZATIONS_API UpdatePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ORGANIZATIONS_API UpdatePolicyResult()=default
const Policy & GetPolicy() const
void SetRequestId(RequestIdT &&value)
void SetPolicy(PolicyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue