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

Behavior graphs that could not be processed in the request.

See * Also:

AWS * API Reference

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

The ARN of the organization behavior graph.

*/ inline const Aws::String& GetGraphArn() const{ return m_graphArn; } /** *

The ARN of the organization behavior graph.

*/ inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; } /** *

The ARN of the organization behavior graph.

*/ inline void SetGraphArn(const Aws::String& value) { m_graphArnHasBeenSet = true; m_graphArn = value; } /** *

The ARN of the organization behavior graph.

*/ inline void SetGraphArn(Aws::String&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::move(value); } /** *

The ARN of the organization behavior graph.

*/ inline void SetGraphArn(const char* value) { m_graphArnHasBeenSet = true; m_graphArn.assign(value); } /** *

The ARN of the organization behavior graph.

*/ inline UnprocessedGraph& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;} /** *

The ARN of the organization behavior graph.

*/ inline UnprocessedGraph& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;} /** *

The ARN of the organization behavior graph.

*/ inline UnprocessedGraph& WithGraphArn(const char* value) { SetGraphArn(value); return *this;} /** *

The reason data source package information could not be processed for a * behavior graph.

*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *

The reason data source package information could not be processed for a * behavior graph.

*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *

The reason data source package information could not be processed for a * behavior graph.

*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *

The reason data source package information could not be processed for a * behavior graph.

*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *

The reason data source package information could not be processed for a * behavior graph.

*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *

The reason data source package information could not be processed for a * behavior graph.

*/ inline UnprocessedGraph& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *

The reason data source package information could not be processed for a * behavior graph.

*/ inline UnprocessedGraph& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *

The reason data source package information could not be processed for a * behavior graph.

*/ inline UnprocessedGraph& WithReason(const char* value) { SetReason(value); return *this;} private: Aws::String m_graphArn; bool m_graphArnHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace Detective } // namespace Aws