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
52 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::String & GetRequestId() const
CreatePolicyResult & WithRequestId(const char *value)
AWS_ORGANIZATIONS_API CreatePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ORGANIZATIONS_API CreatePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePolicyResult & WithPolicy(Policy &&value)
const Policy & GetPolicy() const
void SetPolicy(Policy &&value)
CreatePolicyResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetRequestId(const char *value)
void SetRequestId(Aws::String &&value)
AWS_ORGANIZATIONS_API CreatePolicyResult()
CreatePolicyResult & WithPolicy(const Policy &value)
void SetPolicy(const Policy &value)
CreatePolicyResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue