AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
HoursOfOperationSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API HoursOfOperationSummary() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template <typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) {
62 m_arnHasBeenSet = true;
63 m_arn = std::forward<ArnT>(value);
64 }
65 template <typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
95 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
96 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
97 void SetLastModifiedTime(LastModifiedTimeT&& value) {
98 m_lastModifiedTimeHasBeenSet = true;
99 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
100 }
101 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
102 HoursOfOperationSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
103 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
113 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
114 template <typename LastModifiedRegionT = Aws::String>
115 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
116 m_lastModifiedRegionHasBeenSet = true;
117 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
118 }
119 template <typename LastModifiedRegionT = Aws::String>
120 HoursOfOperationSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) {
121 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_id;
127
128 Aws::String m_arn;
129
130 Aws::String m_name;
131
132 Aws::Utils::DateTime m_lastModifiedTime{};
133
134 Aws::String m_lastModifiedRegion;
135 bool m_idHasBeenSet = false;
136 bool m_arnHasBeenSet = false;
137 bool m_nameHasBeenSet = false;
138 bool m_lastModifiedTimeHasBeenSet = false;
139 bool m_lastModifiedRegionHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Connect
144} // namespace Aws
void SetLastModifiedRegion(LastModifiedRegionT &&value)
HoursOfOperationSummary & WithLastModifiedRegion(LastModifiedRegionT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CONNECT_API HoursOfOperationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API HoursOfOperationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
HoursOfOperationSummary & WithId(IdT &&value)
AWS_CONNECT_API HoursOfOperationSummary()=default
HoursOfOperationSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
HoursOfOperationSummary & WithArn(ArnT &&value)
HoursOfOperationSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue