/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the user who made a specified commit.See
* Also:
AWS
* API Reference
The name of the user who made the specified commit.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the user who made the specified commit.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the user who made the specified commit.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the user who made the specified commit.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the user who made the specified commit.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the user who made the specified commit.
*/ inline UserInfo& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the user who made the specified commit.
*/ inline UserInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the user who made the specified commit.
*/ inline UserInfo& WithName(const char* value) { SetName(value); return *this;} /** *The email address associated with the user who made the commit, if any.
*/ inline const Aws::String& GetEmail() const{ return m_email; } /** *The email address associated with the user who made the commit, if any.
*/ inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } /** *The email address associated with the user who made the commit, if any.
*/ inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } /** *The email address associated with the user who made the commit, if any.
*/ inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } /** *The email address associated with the user who made the commit, if any.
*/ inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } /** *The email address associated with the user who made the commit, if any.
*/ inline UserInfo& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} /** *The email address associated with the user who made the commit, if any.
*/ inline UserInfo& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} /** *The email address associated with the user who made the commit, if any.
*/ inline UserInfo& WithEmail(const char* value) { SetEmail(value); return *this;} /** *The date when the specified commit was commited, in timestamp format with GMT * offset.
*/ inline const Aws::String& GetDate() const{ return m_date; } /** *The date when the specified commit was commited, in timestamp format with GMT * offset.
*/ inline bool DateHasBeenSet() const { return m_dateHasBeenSet; } /** *The date when the specified commit was commited, in timestamp format with GMT * offset.
*/ inline void SetDate(const Aws::String& value) { m_dateHasBeenSet = true; m_date = value; } /** *The date when the specified commit was commited, in timestamp format with GMT * offset.
*/ inline void SetDate(Aws::String&& value) { m_dateHasBeenSet = true; m_date = std::move(value); } /** *The date when the specified commit was commited, in timestamp format with GMT * offset.
*/ inline void SetDate(const char* value) { m_dateHasBeenSet = true; m_date.assign(value); } /** *The date when the specified commit was commited, in timestamp format with GMT * offset.
*/ inline UserInfo& WithDate(const Aws::String& value) { SetDate(value); return *this;} /** *The date when the specified commit was commited, in timestamp format with GMT * offset.
*/ inline UserInfo& WithDate(Aws::String&& value) { SetDate(std::move(value)); return *this;} /** *The date when the specified commit was commited, in timestamp format with GMT * offset.
*/ inline UserInfo& WithDate(const char* value) { SetDate(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_email; bool m_emailHasBeenSet = false; Aws::String m_date; bool m_dateHasBeenSet = false; }; } // namespace Model } // namespace CodeCommit } // namespace Aws