/** * 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 Health { namespace Model { /** */ class DescribeEventDetailsRequest : public HealthRequest { public: AWS_HEALTH_API DescribeEventDetailsRequest(); // 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 "DescribeEventDetails"; } AWS_HEALTH_API Aws::String SerializePayload() const override; AWS_HEALTH_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A list of event ARNs (unique identifiers). For example: * "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", * "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" *

*/ inline const Aws::Vector& GetEventArns() const{ return m_eventArns; } /** *

A list of event ARNs (unique identifiers). For example: * "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", * "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" *

*/ inline bool EventArnsHasBeenSet() const { return m_eventArnsHasBeenSet; } /** *

A list of event ARNs (unique identifiers). For example: * "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", * "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" *

*/ inline void SetEventArns(const Aws::Vector& value) { m_eventArnsHasBeenSet = true; m_eventArns = value; } /** *

A list of event ARNs (unique identifiers). For example: * "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", * "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" *

*/ inline void SetEventArns(Aws::Vector&& value) { m_eventArnsHasBeenSet = true; m_eventArns = std::move(value); } /** *

A list of event ARNs (unique identifiers). For example: * "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", * "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" *

*/ inline DescribeEventDetailsRequest& WithEventArns(const Aws::Vector& value) { SetEventArns(value); return *this;} /** *

A list of event ARNs (unique identifiers). For example: * "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", * "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" *

*/ inline DescribeEventDetailsRequest& WithEventArns(Aws::Vector&& value) { SetEventArns(std::move(value)); return *this;} /** *

A list of event ARNs (unique identifiers). For example: * "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", * "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" *

*/ inline DescribeEventDetailsRequest& AddEventArns(const Aws::String& value) { m_eventArnsHasBeenSet = true; m_eventArns.push_back(value); return *this; } /** *

A list of event ARNs (unique identifiers). For example: * "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", * "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" *

*/ inline DescribeEventDetailsRequest& AddEventArns(Aws::String&& value) { m_eventArnsHasBeenSet = true; m_eventArns.push_back(std::move(value)); return *this; } /** *

A list of event ARNs (unique identifiers). For example: * "arn:aws:health:us-east-1::event/EC2/EC2_INSTANCE_RETIREMENT_SCHEDULED/EC2_INSTANCE_RETIREMENT_SCHEDULED_ABC123-CDE456", * "arn:aws:health:us-west-1::event/EBS/AWS_EBS_LOST_VOLUME/AWS_EBS_LOST_VOLUME_CHI789_JKL101" *

*/ inline DescribeEventDetailsRequest& AddEventArns(const char* value) { m_eventArnsHasBeenSet = true; m_eventArns.push_back(value); return *this; } /** *

The locale (language) to return information in. English (en) is the default * and the only supported value at this time.

*/ inline const Aws::String& GetLocale() const{ return m_locale; } /** *

The locale (language) to return information in. English (en) is the default * and the only supported value at this time.

*/ inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; } /** *

The locale (language) to return information in. English (en) is the default * and the only supported value at this time.

*/ inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; } /** *

The locale (language) to return information in. English (en) is the default * and the only supported value at this time.

*/ inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); } /** *

The locale (language) to return information in. English (en) is the default * and the only supported value at this time.

*/ inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); } /** *

The locale (language) to return information in. English (en) is the default * and the only supported value at this time.

*/ inline DescribeEventDetailsRequest& WithLocale(const Aws::String& value) { SetLocale(value); return *this;} /** *

The locale (language) to return information in. English (en) is the default * and the only supported value at this time.

*/ inline DescribeEventDetailsRequest& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;} /** *

The locale (language) to return information in. English (en) is the default * and the only supported value at this time.

*/ inline DescribeEventDetailsRequest& WithLocale(const char* value) { SetLocale(value); return *this;} private: Aws::Vector m_eventArns; bool m_eventArnsHasBeenSet = false; Aws::String m_locale; bool m_localeHasBeenSet = false; }; } // namespace Model } // namespace Health } // namespace Aws