/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace XRay { namespace Model { /** */ class GetServiceGraphRequest : public XRayRequest { public: AWS_XRAY_API GetServiceGraphRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetServiceGraph"; } AWS_XRAY_API Aws::String SerializePayload() const override; /** *

The start of the time frame for which to generate a graph.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The start of the time frame for which to generate a graph.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The start of the time frame for which to generate a graph.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The start of the time frame for which to generate a graph.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The start of the time frame for which to generate a graph.

*/ inline GetServiceGraphRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The start of the time frame for which to generate a graph.

*/ inline GetServiceGraphRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The end of the timeframe for which to generate a graph.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The end of the timeframe for which to generate a graph.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The end of the timeframe for which to generate a graph.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The end of the timeframe for which to generate a graph.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The end of the timeframe for which to generate a graph.

*/ inline GetServiceGraphRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The end of the timeframe for which to generate a graph.

*/ inline GetServiceGraphRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

The name of a group based on which you want to generate a graph.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

The name of a group based on which you want to generate a graph.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

The name of a group based on which you want to generate a graph.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

The name of a group based on which you want to generate a graph.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

The name of a group based on which you want to generate a graph.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

The name of a group based on which you want to generate a graph.

*/ inline GetServiceGraphRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

The name of a group based on which you want to generate a graph.

*/ inline GetServiceGraphRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

The name of a group based on which you want to generate a graph.

*/ inline GetServiceGraphRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *

The Amazon Resource Name (ARN) of a group based on which you want to generate * a graph.

*/ inline const Aws::String& GetGroupARN() const{ return m_groupARN; } /** *

The Amazon Resource Name (ARN) of a group based on which you want to generate * a graph.

*/ inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of a group based on which you want to generate * a graph.

*/ inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; } /** *

The Amazon Resource Name (ARN) of a group based on which you want to generate * a graph.

*/ inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of a group based on which you want to generate * a graph.

*/ inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); } /** *

The Amazon Resource Name (ARN) of a group based on which you want to generate * a graph.

*/ inline GetServiceGraphRequest& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of a group based on which you want to generate * a graph.

*/ inline GetServiceGraphRequest& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of a group based on which you want to generate * a graph.

*/ inline GetServiceGraphRequest& WithGroupARN(const char* value) { SetGroupARN(value); return *this;} /** *

Pagination token.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Pagination token.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

Pagination token.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

Pagination token.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

Pagination token.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

Pagination token.

*/ inline GetServiceGraphRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Pagination token.

*/ inline GetServiceGraphRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Pagination token.

*/ inline GetServiceGraphRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_groupARN; bool m_groupARNHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace XRay } // namespace Aws