/** * 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 Http { class URI; } //namespace Http namespace DevOpsGuru { namespace Model { /** */ class DescribeInsightRequest : public DevOpsGuruRequest { public: AWS_DEVOPSGURU_API DescribeInsightRequest(); // 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 "DescribeInsight"; } AWS_DEVOPSGURU_API Aws::String SerializePayload() const override; AWS_DEVOPSGURU_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the insight.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the insight.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the insight.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the insight.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the insight.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the insight.

*/ inline DescribeInsightRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the insight.

*/ inline DescribeInsightRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the insight.

*/ inline DescribeInsightRequest& WithId(const char* value) { SetId(value); return *this;} /** *

The ID of the member account in the organization.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The ID of the member account in the organization.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The ID of the member account in the organization.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The ID of the member account in the organization.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The ID of the member account in the organization.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The ID of the member account in the organization.

*/ inline DescribeInsightRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The ID of the member account in the organization.

*/ inline DescribeInsightRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The ID of the member account in the organization.

*/ inline DescribeInsightRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws