AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
WorkspaceSummary.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
29 public:
30 AWS_CONNECT_API WorkspaceSummary() = default;
31 AWS_CONNECT_API WorkspaceSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
47 WorkspaceSummary& WithId(IdT&& value) {
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 WorkspaceSummary& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetArn() const { return m_arn; }
76 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
77 template <typename ArnT = Aws::String>
78 void SetArn(ArnT&& value) {
79 m_arnHasBeenSet = true;
80 m_arn = std::forward<ArnT>(value);
81 }
82 template <typename ArnT = Aws::String>
83 WorkspaceSummary& WithArn(ArnT&& value) {
84 SetArn(std::forward<ArnT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
94 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
95 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
96 void SetLastModifiedTime(LastModifiedTimeT&& value) {
97 m_lastModifiedTimeHasBeenSet = true;
98 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
99 }
100 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
101 WorkspaceSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
102 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
112 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
113 template <typename LastModifiedRegionT = Aws::String>
114 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
115 m_lastModifiedRegionHasBeenSet = true;
116 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
117 }
118 template <typename LastModifiedRegionT = Aws::String>
119 WorkspaceSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) {
120 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_id;
126
127 Aws::String m_name;
128
129 Aws::String m_arn;
130
131 Aws::Utils::DateTime m_lastModifiedTime{};
132
133 Aws::String m_lastModifiedRegion;
134 bool m_idHasBeenSet = false;
135 bool m_nameHasBeenSet = false;
136 bool m_arnHasBeenSet = false;
137 bool m_lastModifiedTimeHasBeenSet = false;
138 bool m_lastModifiedRegionHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Connect
143} // namespace Aws
AWS_CONNECT_API WorkspaceSummary()=default
const Aws::String & GetName() const
AWS_CONNECT_API WorkspaceSummary(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSummary & WithId(IdT &&value)
const Aws::String & GetLastModifiedRegion() const
WorkspaceSummary & WithName(NameT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API WorkspaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetArn() const
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
WorkspaceSummary & WithArn(ArnT &&value)
WorkspaceSummary & WithLastModifiedRegion(LastModifiedRegionT &&value)
WorkspaceSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue