7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecommit/model/ApprovalState.h>
50 inline void SetUserArn(
const char* value) { m_userArnHasBeenSet =
true; m_userArn.assign(value); }
71 bool m_userArnHasBeenSet =
false;
74 bool m_approvalStateHasBeenSet =
false;
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
Approval & WithApprovalState(const ApprovalState &value)
Approval & WithApprovalState(ApprovalState &&value)
AWS_CODECOMMIT_API Approval(Aws::Utils::Json::JsonView jsonValue)
Approval & WithUserArn(const char *value)
void SetUserArn(const Aws::String &value)
void SetApprovalState(ApprovalState &&value)
void SetApprovalState(const ApprovalState &value)
AWS_CODECOMMIT_API Approval & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API Approval()
void SetUserArn(Aws::String &&value)
void SetUserArn(const char *value)
const ApprovalState & GetApprovalState() const
bool UserArnHasBeenSet() const
const Aws::String & GetUserArn() const
Approval & WithUserArn(const Aws::String &value)
Approval & WithUserArn(Aws::String &&value)
bool ApprovalStateHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue