AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRotationResult.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ssm-contacts/model/RecurrenceSettings.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SSMContacts
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SSMCONTACTS_API GetRotationResult();
36
37
39
42 inline const Aws::String& GetRotationArn() const{ return m_rotationArn; }
43 inline void SetRotationArn(const Aws::String& value) { m_rotationArn = value; }
44 inline void SetRotationArn(Aws::String&& value) { m_rotationArn = std::move(value); }
45 inline void SetRotationArn(const char* value) { m_rotationArn.assign(value); }
46 inline GetRotationResult& WithRotationArn(const Aws::String& value) { SetRotationArn(value); return *this;}
47 inline GetRotationResult& WithRotationArn(Aws::String&& value) { SetRotationArn(std::move(value)); return *this;}
48 inline GetRotationResult& WithRotationArn(const char* value) { SetRotationArn(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline void SetName(const Aws::String& value) { m_name = value; }
57 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 inline void SetName(const char* value) { m_name.assign(value); }
59 inline GetRotationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline GetRotationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline GetRotationResult& WithName(const char* value) { SetName(value); return *this;}
63
65
69 inline const Aws::Vector<Aws::String>& GetContactIds() const{ return m_contactIds; }
70 inline void SetContactIds(const Aws::Vector<Aws::String>& value) { m_contactIds = value; }
71 inline void SetContactIds(Aws::Vector<Aws::String>&& value) { m_contactIds = std::move(value); }
72 inline GetRotationResult& WithContactIds(const Aws::Vector<Aws::String>& value) { SetContactIds(value); return *this;}
73 inline GetRotationResult& WithContactIds(Aws::Vector<Aws::String>&& value) { SetContactIds(std::move(value)); return *this;}
74 inline GetRotationResult& AddContactIds(const Aws::String& value) { m_contactIds.push_back(value); return *this; }
75 inline GetRotationResult& AddContactIds(Aws::String&& value) { m_contactIds.push_back(std::move(value)); return *this; }
76 inline GetRotationResult& AddContactIds(const char* value) { m_contactIds.push_back(value); return *this; }
78
80
83 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
84 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
85 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
86 inline GetRotationResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
87 inline GetRotationResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
89
91
95 inline const Aws::String& GetTimeZoneId() const{ return m_timeZoneId; }
96 inline void SetTimeZoneId(const Aws::String& value) { m_timeZoneId = value; }
97 inline void SetTimeZoneId(Aws::String&& value) { m_timeZoneId = std::move(value); }
98 inline void SetTimeZoneId(const char* value) { m_timeZoneId.assign(value); }
99 inline GetRotationResult& WithTimeZoneId(const Aws::String& value) { SetTimeZoneId(value); return *this;}
100 inline GetRotationResult& WithTimeZoneId(Aws::String&& value) { SetTimeZoneId(std::move(value)); return *this;}
101 inline GetRotationResult& WithTimeZoneId(const char* value) { SetTimeZoneId(value); return *this;}
103
105
109 inline const RecurrenceSettings& GetRecurrence() const{ return m_recurrence; }
110 inline void SetRecurrence(const RecurrenceSettings& value) { m_recurrence = value; }
111 inline void SetRecurrence(RecurrenceSettings&& value) { m_recurrence = std::move(value); }
112 inline GetRotationResult& WithRecurrence(const RecurrenceSettings& value) { SetRecurrence(value); return *this;}
113 inline GetRotationResult& WithRecurrence(RecurrenceSettings&& value) { SetRecurrence(std::move(value)); return *this;}
115
117
118 inline const Aws::String& GetRequestId() const{ return m_requestId; }
119 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
120 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
121 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
122 inline GetRotationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
123 inline GetRotationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
124 inline GetRotationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
126 private:
127
128 Aws::String m_rotationArn;
129
130 Aws::String m_name;
131
132 Aws::Vector<Aws::String> m_contactIds;
133
134 Aws::Utils::DateTime m_startTime;
135
136 Aws::String m_timeZoneId;
137
138 RecurrenceSettings m_recurrence;
139
140 Aws::String m_requestId;
141 };
142
143} // namespace Model
144} // namespace SSMContacts
145} // namespace Aws
void SetRequestId(const Aws::String &value)
void SetContactIds(const Aws::Vector< Aws::String > &value)
GetRotationResult & WithName(const char *value)
void SetRecurrence(RecurrenceSettings &&value)
GetRotationResult & WithRotationArn(Aws::String &&value)
GetRotationResult & AddContactIds(const Aws::String &value)
GetRotationResult & WithRotationArn(const char *value)
GetRotationResult & WithRecurrence(const RecurrenceSettings &value)
GetRotationResult & AddContactIds(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetName(const Aws::String &value)
GetRotationResult & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetContactIds() const
GetRotationResult & WithTimeZoneId(const Aws::String &value)
GetRotationResult & WithName(Aws::String &&value)
void SetRotationArn(const Aws::String &value)
GetRotationResult & WithRequestId(const Aws::String &value)
GetRotationResult & WithRequestId(Aws::String &&value)
AWS_SSMCONTACTS_API GetRotationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRotationResult & WithContactIds(const Aws::Vector< Aws::String > &value)
GetRotationResult & AddContactIds(Aws::String &&value)
const RecurrenceSettings & GetRecurrence() const
GetRotationResult & WithName(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetRotationResult & WithRecurrence(RecurrenceSettings &&value)
GetRotationResult & WithRotationArn(const Aws::String &value)
void SetTimeZoneId(const Aws::String &value)
void SetRecurrence(const RecurrenceSettings &value)
AWS_SSMCONTACTS_API GetRotationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetContactIds(Aws::Vector< Aws::String > &&value)
GetRotationResult & WithTimeZoneId(const char *value)
GetRotationResult & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
GetRotationResult & WithContactIds(Aws::Vector< Aws::String > &&value)
GetRotationResult & WithRequestId(const char *value)
GetRotationResult & WithTimeZoneId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue