AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCalendarNames(const Aws::Vector<Aws::String>& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = value; }
47 inline void SetCalendarNames(Aws::Vector<Aws::String>&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames = std::move(value); }
49 inline GetCalendarStateRequest& WithCalendarNames(Aws::Vector<Aws::String>&& value) { SetCalendarNames(std::move(value)); return *this;}
50 inline GetCalendarStateRequest& AddCalendarNames(const Aws::String& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; }
51 inline GetCalendarStateRequest& AddCalendarNames(Aws::String&& value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(std::move(value)); return *this; }
52 inline GetCalendarStateRequest& AddCalendarNames(const char* value) { m_calendarNamesHasBeenSet = true; m_calendarNames.push_back(value); return *this; }
54
56
62 inline const Aws::String& GetAtTime() const{ return m_atTime; }
63 inline bool AtTimeHasBeenSet() const { return m_atTimeHasBeenSet; }
64 inline void SetAtTime(const Aws::String& value) { m_atTimeHasBeenSet = true; m_atTime = value; }
65 inline void SetAtTime(Aws::String&& value) { m_atTimeHasBeenSet = true; m_atTime = std::move(value); }
66 inline void SetAtTime(const char* value) { m_atTimeHasBeenSet = true; m_atTime.assign(value); }
67 inline GetCalendarStateRequest& WithAtTime(const Aws::String& value) { SetAtTime(value); return *this;}
68 inline GetCalendarStateRequest& WithAtTime(Aws::String&& value) { SetAtTime(std::move(value)); return *this;}
69 inline GetCalendarStateRequest& WithAtTime(const char* value) { SetAtTime(value); return *this;}
71 private:
72
73 Aws::Vector<Aws::String> m_calendarNames;
74 bool m_calendarNamesHasBeenSet = false;
75
76 Aws::String m_atTime;
77 bool m_atTimeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SSM
82} // namespace Aws
void SetCalendarNames(Aws::Vector< Aws::String > &&value)
GetCalendarStateRequest & WithAtTime(const Aws::String &value)
AWS_SSM_API Aws::String SerializePayload() const override
GetCalendarStateRequest & WithCalendarNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCalendarNames() const
GetCalendarStateRequest & AddCalendarNames(const Aws::String &value)
GetCalendarStateRequest & WithAtTime(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetCalendarStateRequest & AddCalendarNames(const char *value)
GetCalendarStateRequest & AddCalendarNames(Aws::String &&value)
GetCalendarStateRequest & WithAtTime(const char *value)
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCalendarNames(const Aws::Vector< Aws::String > &value)
GetCalendarStateRequest & WithCalendarNames(const Aws::Vector< Aws::String > &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