AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PreviewOverride.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSMContacts
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SSMCONTACTS_API PreviewOverride();
38 AWS_SSMCONTACTS_API PreviewOverride(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMCONTACTS_API PreviewOverride& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetNewMembers() const{ return m_newMembers; }
48 inline bool NewMembersHasBeenSet() const { return m_newMembersHasBeenSet; }
49 inline void SetNewMembers(const Aws::Vector<Aws::String>& value) { m_newMembersHasBeenSet = true; m_newMembers = value; }
50 inline void SetNewMembers(Aws::Vector<Aws::String>&& value) { m_newMembersHasBeenSet = true; m_newMembers = std::move(value); }
51 inline PreviewOverride& WithNewMembers(const Aws::Vector<Aws::String>& value) { SetNewMembers(value); return *this;}
52 inline PreviewOverride& WithNewMembers(Aws::Vector<Aws::String>&& value) { SetNewMembers(std::move(value)); return *this;}
53 inline PreviewOverride& AddNewMembers(const Aws::String& value) { m_newMembersHasBeenSet = true; m_newMembers.push_back(value); return *this; }
54 inline PreviewOverride& AddNewMembers(Aws::String&& value) { m_newMembersHasBeenSet = true; m_newMembers.push_back(std::move(value)); return *this; }
55 inline PreviewOverride& AddNewMembers(const char* value) { m_newMembersHasBeenSet = true; m_newMembers.push_back(value); return *this; }
57
59
62 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
63 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
64 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
65 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
66 inline PreviewOverride& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
67 inline PreviewOverride& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
75 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
76 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
77 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
78 inline PreviewOverride& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
79 inline PreviewOverride& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
81 private:
82
83 Aws::Vector<Aws::String> m_newMembers;
84 bool m_newMembersHasBeenSet = false;
85
86 Aws::Utils::DateTime m_startTime;
87 bool m_startTimeHasBeenSet = false;
88
89 Aws::Utils::DateTime m_endTime;
90 bool m_endTimeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SSMContacts
95} // namespace Aws
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
PreviewOverride & WithStartTime(const Aws::Utils::DateTime &value)
PreviewOverride & AddNewMembers(const Aws::String &value)
AWS_SSMCONTACTS_API PreviewOverride(Aws::Utils::Json::JsonView jsonValue)
void SetNewMembers(Aws::Vector< Aws::String > &&value)
PreviewOverride & WithEndTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
AWS_SSMCONTACTS_API PreviewOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
PreviewOverride & WithNewMembers(const Aws::Vector< Aws::String > &value)
void SetEndTime(Aws::Utils::DateTime &&value)
PreviewOverride & AddNewMembers(const char *value)
PreviewOverride & AddNewMembers(Aws::String &&value)
PreviewOverride & WithNewMembers(Aws::Vector< Aws::String > &&value)
PreviewOverride & WithStartTime(Aws::Utils::DateTime &&value)
PreviewOverride & WithEndTime(Aws::Utils::DateTime &&value)
void SetNewMembers(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::Utils::DateTime & GetStartTime() const
void SetStartTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetNewMembers() const
void SetStartTime(Aws::Utils::DateTime &&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