AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRotationOverrideResult.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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SSMContacts
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SSMCONTACTS_API GetRotationOverrideResult();
35
36
38
41 inline const Aws::String& GetRotationOverrideId() const{ return m_rotationOverrideId; }
42 inline void SetRotationOverrideId(const Aws::String& value) { m_rotationOverrideId = value; }
43 inline void SetRotationOverrideId(Aws::String&& value) { m_rotationOverrideId = std::move(value); }
44 inline void SetRotationOverrideId(const char* value) { m_rotationOverrideId.assign(value); }
46 inline GetRotationOverrideResult& WithRotationOverrideId(Aws::String&& value) { SetRotationOverrideId(std::move(value)); return *this;}
47 inline GetRotationOverrideResult& WithRotationOverrideId(const char* value) { SetRotationOverrideId(value); return *this;}
49
51
55 inline const Aws::String& GetRotationArn() const{ return m_rotationArn; }
56 inline void SetRotationArn(const Aws::String& value) { m_rotationArn = value; }
57 inline void SetRotationArn(Aws::String&& value) { m_rotationArn = std::move(value); }
58 inline void SetRotationArn(const char* value) { m_rotationArn.assign(value); }
59 inline GetRotationOverrideResult& WithRotationArn(const Aws::String& value) { SetRotationArn(value); return *this;}
60 inline GetRotationOverrideResult& WithRotationArn(Aws::String&& value) { SetRotationArn(std::move(value)); return *this;}
61 inline GetRotationOverrideResult& WithRotationArn(const char* value) { SetRotationArn(value); return *this;}
63
65
69 inline const Aws::Vector<Aws::String>& GetNewContactIds() const{ return m_newContactIds; }
70 inline void SetNewContactIds(const Aws::Vector<Aws::String>& value) { m_newContactIds = value; }
71 inline void SetNewContactIds(Aws::Vector<Aws::String>&& value) { m_newContactIds = std::move(value); }
73 inline GetRotationOverrideResult& WithNewContactIds(Aws::Vector<Aws::String>&& value) { SetNewContactIds(std::move(value)); return *this;}
74 inline GetRotationOverrideResult& AddNewContactIds(const Aws::String& value) { m_newContactIds.push_back(value); return *this; }
75 inline GetRotationOverrideResult& AddNewContactIds(Aws::String&& value) { m_newContactIds.push_back(std::move(value)); return *this; }
76 inline GetRotationOverrideResult& AddNewContactIds(const char* value) { m_newContactIds.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 GetRotationOverrideResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
87 inline GetRotationOverrideResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
95 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
96 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
97 inline GetRotationOverrideResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
98 inline GetRotationOverrideResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
106 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
107 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
108 inline GetRotationOverrideResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
109 inline GetRotationOverrideResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline GetRotationOverrideResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline GetRotationOverrideResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline GetRotationOverrideResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122 private:
123
124 Aws::String m_rotationOverrideId;
125
126 Aws::String m_rotationArn;
127
128 Aws::Vector<Aws::String> m_newContactIds;
129
130 Aws::Utils::DateTime m_startTime;
131
132 Aws::Utils::DateTime m_endTime;
133
134 Aws::Utils::DateTime m_createTime;
135
136 Aws::String m_requestId;
137 };
138
139} // namespace Model
140} // namespace SSMContacts
141} // namespace Aws
GetRotationOverrideResult & WithCreateTime(const Aws::Utils::DateTime &value)
void SetNewContactIds(const Aws::Vector< Aws::String > &value)
GetRotationOverrideResult & WithStartTime(const Aws::Utils::DateTime &value)
GetRotationOverrideResult & WithRotationOverrideId(Aws::String &&value)
GetRotationOverrideResult & WithEndTime(Aws::Utils::DateTime &&value)
GetRotationOverrideResult & WithRequestId(const Aws::String &value)
GetRotationOverrideResult & WithRequestId(const char *value)
GetRotationOverrideResult & WithStartTime(Aws::Utils::DateTime &&value)
GetRotationOverrideResult & WithCreateTime(Aws::Utils::DateTime &&value)
GetRotationOverrideResult & AddNewContactIds(const char *value)
GetRotationOverrideResult & WithRotationArn(Aws::String &&value)
GetRotationOverrideResult & WithNewContactIds(const Aws::Vector< Aws::String > &value)
GetRotationOverrideResult & WithNewContactIds(Aws::Vector< Aws::String > &&value)
GetRotationOverrideResult & WithRotationArn(const char *value)
GetRotationOverrideResult & WithRotationOverrideId(const char *value)
const Aws::Vector< Aws::String > & GetNewContactIds() const
AWS_SSMCONTACTS_API GetRotationOverrideResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRotationOverrideResult & WithEndTime(const Aws::Utils::DateTime &value)
GetRotationOverrideResult & WithRotationOverrideId(const Aws::String &value)
GetRotationOverrideResult & AddNewContactIds(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetNewContactIds(Aws::Vector< Aws::String > &&value)
GetRotationOverrideResult & WithRotationArn(const Aws::String &value)
GetRotationOverrideResult & WithRequestId(Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
AWS_SSMCONTACTS_API GetRotationOverrideResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRotationOverrideResult & AddNewContactIds(const 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