AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HoursOfOperationSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API HoursOfOperationSummary() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 HoursOfOperationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
62 template<typename ArnT = Aws::String>
63 HoursOfOperationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template<typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
74 template<typename NameT = Aws::String>
75 HoursOfOperationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
83 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
84 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
85 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
86 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
87 HoursOfOperationSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
89
91
94 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
95 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
96 template<typename LastModifiedRegionT = Aws::String>
97 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
98 template<typename LastModifiedRegionT = Aws::String>
99 HoursOfOperationSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
101 private:
102
103 Aws::String m_id;
104 bool m_idHasBeenSet = false;
105
106 Aws::String m_arn;
107 bool m_arnHasBeenSet = false;
108
109 Aws::String m_name;
110 bool m_nameHasBeenSet = false;
111
112 Aws::Utils::DateTime m_lastModifiedTime{};
113 bool m_lastModifiedTimeHasBeenSet = false;
114
115 Aws::String m_lastModifiedRegion;
116 bool m_lastModifiedRegionHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Connect
121} // 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