7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codecommit/model/Approval.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
55 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetRequestId(const Aws::String &value)
const Aws::Vector< Approval > & GetApprovals() const
GetPullRequestApprovalStatesResult & WithRequestId(const char *value)
GetPullRequestApprovalStatesResult & AddApprovals(const Approval &value)
void SetApprovals(Aws::Vector< Approval > &&value)
GetPullRequestApprovalStatesResult & AddApprovals(Approval &&value)
void SetRequestId(Aws::String &&value)
GetPullRequestApprovalStatesResult & WithApprovals(const Aws::Vector< Approval > &value)
GetPullRequestApprovalStatesResult & WithApprovals(Aws::Vector< Approval > &&value)
void SetApprovals(const Aws::Vector< Approval > &value)
AWS_CODECOMMIT_API GetPullRequestApprovalStatesResult()
AWS_CODECOMMIT_API GetPullRequestApprovalStatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CODECOMMIT_API GetPullRequestApprovalStatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const char *value)
const Aws::String & GetRequestId() const
GetPullRequestApprovalStatesResult & WithRequestId(const Aws::String &value)
GetPullRequestApprovalStatesResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue