/** * 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 SSM { namespace Model { /** */ class GetCalendarStateRequest : public SSMRequest { public: AWS_SSM_API GetCalendarStateRequest(); // 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 "GetCalendarState"; } AWS_SSM_API Aws::String SerializePayload() const override; AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents * (SSM documents) that represent the calendar entries for which you want to get * the state.

*/ inline const Aws::Vector& GetCalendarNames() const{ return m_calendarNames; } /** *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents * (SSM documents) that represent the calendar entries for which you want to get * the state.

*/ inline bool CalendarNamesHasBeenSet() const { return m_calendarNamesHasBeenSet; } /** *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents * (SSM documents) that represent the calendar entries for which you want to get * the state.

*/ inline void SetCalendarNames(const Aws::Vector& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = value; } /** *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents * (SSM documents) that represent the calendar entries for which you want to get * the state.

*/ inline void SetCalendarNames(Aws::Vector&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = std::move(value); } /** *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents * (SSM documents) that represent the calendar entries for which you want to get * the state.

*/ inline GetCalendarStateRequest& WithCalendarNames(const Aws::Vector& value) { SetCalendarNames(value); return *this;} /** *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents * (SSM documents) that represent the calendar entries for which you want to get * the state.

*/ inline GetCalendarStateRequest& WithCalendarNames(Aws::Vector&& value) { SetCalendarNames(std::move(value)); return *this;} /** *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents * (SSM documents) that represent the calendar entries for which you want to get * the state.

*/ inline GetCalendarStateRequest& AddCalendarNames(const Aws::String& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; } /** *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents * (SSM documents) that represent the calendar entries for which you want to get * the state.

*/ inline GetCalendarStateRequest& AddCalendarNames(Aws::String&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(std::move(value)); return *this; } /** *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents * (SSM documents) that represent the calendar entries for which you want to get * the state.

*/ inline GetCalendarStateRequest& AddCalendarNames(const char* value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; } /** *

(Optional) The specific time for which you want to get calendar state * information, in ISO 8601 * format. If you don't specify a value or AtTime, the current time is * used.

*/ inline const Aws::String& GetAtTime() const{ return m_atTime; } /** *

(Optional) The specific time for which you want to get calendar state * information, in ISO 8601 * format. If you don't specify a value or AtTime, the current time is * used.

*/ inline bool AtTimeHasBeenSet() const { return m_atTimeHasBeenSet; } /** *

(Optional) The specific time for which you want to get calendar state * information, in ISO 8601 * format. If you don't specify a value or AtTime, the current time is * used.

*/ inline void SetAtTime(const Aws::String& value) { m_atTimeHasBeenSet = true; m_atTime = value; } /** *

(Optional) The specific time for which you want to get calendar state * information, in ISO 8601 * format. If you don't specify a value or AtTime, the current time is * used.

*/ inline void SetAtTime(Aws::String&& value) { m_atTimeHasBeenSet = true; m_atTime = std::move(value); } /** *

(Optional) The specific time for which you want to get calendar state * information, in ISO 8601 * format. If you don't specify a value or AtTime, the current time is * used.

*/ inline void SetAtTime(const char* value) { m_atTimeHasBeenSet = true; m_atTime.assign(value); } /** *

(Optional) The specific time for which you want to get calendar state * information, in ISO 8601 * format. If you don't specify a value or AtTime, the current time is * used.

*/ inline GetCalendarStateRequest& WithAtTime(const Aws::String& value) { SetAtTime(value); return *this;} /** *

(Optional) The specific time for which you want to get calendar state * information, in ISO 8601 * format. If you don't specify a value or AtTime, the current time is * used.

*/ inline GetCalendarStateRequest& WithAtTime(Aws::String&& value) { SetAtTime(std::move(value)); return *this;} /** *

(Optional) The specific time for which you want to get calendar state * information, in ISO 8601 * format. If you don't specify a value or AtTime, the current time is * used.

*/ inline GetCalendarStateRequest& WithAtTime(const char* value) { SetAtTime(value); return *this;} private: Aws::Vector m_calendarNames; bool m_calendarNamesHasBeenSet = false; Aws::String m_atTime; bool m_atTimeHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws