AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ShiftDetails.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/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSMContacts
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSMCONTACTS_API ShiftDetails();
37 AWS_SSMCONTACTS_API ShiftDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMCONTACTS_API ShiftDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<Aws::String>& GetOverriddenContactIds() const{ return m_overriddenContactIds; }
49 inline bool OverriddenContactIdsHasBeenSet() const { return m_overriddenContactIdsHasBeenSet; }
50 inline void SetOverriddenContactIds(const Aws::Vector<Aws::String>& value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds = value; }
51 inline void SetOverriddenContactIds(Aws::Vector<Aws::String>&& value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds = std::move(value); }
54 inline ShiftDetails& AddOverriddenContactIds(const Aws::String& value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds.push_back(value); return *this; }
55 inline ShiftDetails& AddOverriddenContactIds(Aws::String&& value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds.push_back(std::move(value)); return *this; }
56 inline ShiftDetails& AddOverriddenContactIds(const char* value) { m_overriddenContactIdsHasBeenSet = true; m_overriddenContactIds.push_back(value); return *this; }
58 private:
59
60 Aws::Vector<Aws::String> m_overriddenContactIds;
61 bool m_overriddenContactIdsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace SSMContacts
66} // namespace Aws
ShiftDetails & AddOverriddenContactIds(Aws::String &&value)
void SetOverriddenContactIds(Aws::Vector< Aws::String > &&value)
ShiftDetails & WithOverriddenContactIds(const Aws::Vector< Aws::String > &value)
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
ShiftDetails & WithOverriddenContactIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetOverriddenContactIds() const
void SetOverriddenContactIds(const Aws::Vector< Aws::String > &value)
AWS_SSMCONTACTS_API ShiftDetails()
ShiftDetails & AddOverriddenContactIds(const Aws::String &value)
AWS_SSMCONTACTS_API ShiftDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ShiftDetails & AddOverriddenContactIds(const char *value)
AWS_SSMCONTACTS_API ShiftDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue