/** * 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 Detective { namespace Model { /** */ class StartMonitoringMemberRequest : public DetectiveRequest { public: AWS_DETECTIVE_API StartMonitoringMemberRequest(); // 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 "StartMonitoringMember"; } AWS_DETECTIVE_API Aws::String SerializePayload() const override; /** *

The ARN of the behavior graph.

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

The ARN of the behavior graph.

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

The ARN of the behavior graph.

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

The ARN of the behavior graph.

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

The ARN of the behavior graph.

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

The ARN of the behavior graph.

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

The ARN of the behavior graph.

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

The ARN of the behavior graph.

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

The account ID of the member account to try to enable.

The account * must be an invited member account with a status of * ACCEPTED_BUT_DISABLED.

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

The account ID of the member account to try to enable.

The account * must be an invited member account with a status of * ACCEPTED_BUT_DISABLED.

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

The account ID of the member account to try to enable.

The account * must be an invited member account with a status of * ACCEPTED_BUT_DISABLED.

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

The account ID of the member account to try to enable.

The account * must be an invited member account with a status of * ACCEPTED_BUT_DISABLED.

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

The account ID of the member account to try to enable.

The account * must be an invited member account with a status of * ACCEPTED_BUT_DISABLED.

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

The account ID of the member account to try to enable.

The account * must be an invited member account with a status of * ACCEPTED_BUT_DISABLED.

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

The account ID of the member account to try to enable.

The account * must be an invited member account with a status of * ACCEPTED_BUT_DISABLED.

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

The account ID of the member account to try to enable.

The account * must be an invited member account with a status of * ACCEPTED_BUT_DISABLED.

*/ inline StartMonitoringMemberRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} private: Aws::String m_graphArn; bool m_graphArnHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; }; } // namespace Model } // namespace Detective } // namespace Aws