AWS SDK for C++

AWS SDK for C++ Version 1.11.552

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
GetCalendarStateRequest.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSM
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSM_API GetCalendarStateRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetCalendarState"; }
32
33 AWS_SSM_API Aws::String SerializePayload() const override;
34
36
37
39
44 inline const Aws::Vector<Aws::String>& GetCalendarNames() const { return m_calendarNames; }
45 inline bool CalendarNamesHasBeenSet() const { return m_calendarNamesHasBeenSet; }
46 template<typename CalendarNamesT = Aws::Vector<Aws::String>>
47 void SetCalendarNames(CalendarNamesT&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = std::forward<CalendarNamesT>(value); }
48 template<typename CalendarNamesT = Aws::Vector<Aws::String>>
49 GetCalendarStateRequest& WithCalendarNames(CalendarNamesT&& value) { SetCalendarNames(std::forward<CalendarNamesT>(value)); return *this;}
50 template<typename CalendarNamesT = Aws::String>
51 GetCalendarStateRequest& AddCalendarNames(CalendarNamesT&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.emplace_back(std::forward<CalendarNamesT>(value)); return *this; }
53
55
61 inline const Aws::String& GetAtTime() const { return m_atTime; }
62 inline bool AtTimeHasBeenSet() const { return m_atTimeHasBeenSet; }
63 template<typename AtTimeT = Aws::String>
64 void SetAtTime(AtTimeT&& value) { m_atTimeHasBeenSet = true; m_atTime = std::forward<AtTimeT>(value); }
65 template<typename AtTimeT = Aws::String>
66 GetCalendarStateRequest& WithAtTime(AtTimeT&& value) { SetAtTime(std::forward<AtTimeT>(value)); return *this;}
68 private:
69
70 Aws::Vector<Aws::String> m_calendarNames;
71 bool m_calendarNamesHasBeenSet = false;
72
73 Aws::String m_atTime;
74 bool m_atTimeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SSM
79} // namespace Aws
GetCalendarStateRequest & AddCalendarNames(CalendarNamesT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
GetCalendarStateRequest & WithAtTime(AtTimeT &&value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
AWS_SSM_API GetCalendarStateRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetCalendarStateRequest & WithCalendarNames(CalendarNamesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector