/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a CreateLoggingConfiguration operation.See
* Also:
AWS
* API Reference
The ID of the workspace to vend logs to.
*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *The ID of the workspace to vend logs to.
*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *The ID of the workspace to vend logs to.
*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *The ID of the workspace to vend logs to.
*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *The ID of the workspace to vend logs to.
*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *The ID of the workspace to vend logs to.
*/ inline CreateLoggingConfigurationRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *The ID of the workspace to vend logs to.
*/ inline CreateLoggingConfigurationRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *The ID of the workspace to vend logs to.
*/ inline CreateLoggingConfigurationRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** *The ARN of the CW log group to which the vended log data will be * published.
*/ inline const Aws::String& GetLogGroupArn() const{ return m_logGroupArn; } /** *The ARN of the CW log group to which the vended log data will be * published.
*/ inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; } /** *The ARN of the CW log group to which the vended log data will be * published.
*/ inline void SetLogGroupArn(const Aws::String& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = value; } /** *The ARN of the CW log group to which the vended log data will be * published.
*/ inline void SetLogGroupArn(Aws::String&& value) { m_logGroupArnHasBeenSet = true; m_logGroupArn = std::move(value); } /** *The ARN of the CW log group to which the vended log data will be * published.
*/ inline void SetLogGroupArn(const char* value) { m_logGroupArnHasBeenSet = true; m_logGroupArn.assign(value); } /** *The ARN of the CW log group to which the vended log data will be * published.
*/ inline CreateLoggingConfigurationRequest& WithLogGroupArn(const Aws::String& value) { SetLogGroupArn(value); return *this;} /** *The ARN of the CW log group to which the vended log data will be * published.
*/ inline CreateLoggingConfigurationRequest& WithLogGroupArn(Aws::String&& value) { SetLogGroupArn(std::move(value)); return *this;} /** *The ARN of the CW log group to which the vended log data will be * published.
*/ inline CreateLoggingConfigurationRequest& WithLogGroupArn(const char* value) { SetLogGroupArn(value); return *this;} /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline CreateLoggingConfigurationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline CreateLoggingConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *Optional, unique, case-sensitive, user-provided identifier to ensure the * idempotency of the request.
*/ inline CreateLoggingConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::String m_logGroupArn; bool m_logGroupArnHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace PrometheusService } // namespace Aws