/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Connect { namespace Model { /** *

Information about the agent's status.

See Also:

AWS * API Reference

*/ class AgentStatusReference { public: AWS_CONNECT_API AgentStatusReference(); AWS_CONNECT_API AgentStatusReference(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API AgentStatusReference& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The start timestamp of the agent's status.

*/ inline const Aws::Utils::DateTime& GetStatusStartTimestamp() const{ return m_statusStartTimestamp; } /** *

The start timestamp of the agent's status.

*/ inline bool StatusStartTimestampHasBeenSet() const { return m_statusStartTimestampHasBeenSet; } /** *

The start timestamp of the agent's status.

*/ inline void SetStatusStartTimestamp(const Aws::Utils::DateTime& value) { m_statusStartTimestampHasBeenSet = true; m_statusStartTimestamp = value; } /** *

The start timestamp of the agent's status.

*/ inline void SetStatusStartTimestamp(Aws::Utils::DateTime&& value) { m_statusStartTimestampHasBeenSet = true; m_statusStartTimestamp = std::move(value); } /** *

The start timestamp of the agent's status.

*/ inline AgentStatusReference& WithStatusStartTimestamp(const Aws::Utils::DateTime& value) { SetStatusStartTimestamp(value); return *this;} /** *

The start timestamp of the agent's status.

*/ inline AgentStatusReference& WithStatusStartTimestamp(Aws::Utils::DateTime&& value) { SetStatusStartTimestamp(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the agent's status.

*/ inline const Aws::String& GetStatusArn() const{ return m_statusArn; } /** *

The Amazon Resource Name (ARN) of the agent's status.

*/ inline bool StatusArnHasBeenSet() const { return m_statusArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the agent's status.

*/ inline void SetStatusArn(const Aws::String& value) { m_statusArnHasBeenSet = true; m_statusArn = value; } /** *

The Amazon Resource Name (ARN) of the agent's status.

*/ inline void SetStatusArn(Aws::String&& value) { m_statusArnHasBeenSet = true; m_statusArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the agent's status.

*/ inline void SetStatusArn(const char* value) { m_statusArnHasBeenSet = true; m_statusArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the agent's status.

*/ inline AgentStatusReference& WithStatusArn(const Aws::String& value) { SetStatusArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the agent's status.

*/ inline AgentStatusReference& WithStatusArn(Aws::String&& value) { SetStatusArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the agent's status.

*/ inline AgentStatusReference& WithStatusArn(const char* value) { SetStatusArn(value); return *this;} /** *

The name of the agent status.

*/ inline const Aws::String& GetStatusName() const{ return m_statusName; } /** *

The name of the agent status.

*/ inline bool StatusNameHasBeenSet() const { return m_statusNameHasBeenSet; } /** *

The name of the agent status.

*/ inline void SetStatusName(const Aws::String& value) { m_statusNameHasBeenSet = true; m_statusName = value; } /** *

The name of the agent status.

*/ inline void SetStatusName(Aws::String&& value) { m_statusNameHasBeenSet = true; m_statusName = std::move(value); } /** *

The name of the agent status.

*/ inline void SetStatusName(const char* value) { m_statusNameHasBeenSet = true; m_statusName.assign(value); } /** *

The name of the agent status.

*/ inline AgentStatusReference& WithStatusName(const Aws::String& value) { SetStatusName(value); return *this;} /** *

The name of the agent status.

*/ inline AgentStatusReference& WithStatusName(Aws::String&& value) { SetStatusName(std::move(value)); return *this;} /** *

The name of the agent status.

*/ inline AgentStatusReference& WithStatusName(const char* value) { SetStatusName(value); return *this;} private: Aws::Utils::DateTime m_statusStartTimestamp; bool m_statusStartTimestampHasBeenSet = false; Aws::String m_statusArn; bool m_statusArnHasBeenSet = false; Aws::String m_statusName; bool m_statusNameHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws