AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PredefinedAttributeSummary.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
33 {
34 public:
35 AWS_CONNECT_API PredefinedAttributeSummary() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 PredefinedAttributeSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
58 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
59 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
60 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
61 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
62 PredefinedAttributeSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
64
66
69 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
70 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
71 template<typename LastModifiedRegionT = Aws::String>
72 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
73 template<typename LastModifiedRegionT = Aws::String>
74 PredefinedAttributeSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
76 private:
77
78 Aws::String m_name;
79 bool m_nameHasBeenSet = false;
80
81 Aws::Utils::DateTime m_lastModifiedTime{};
82 bool m_lastModifiedTimeHasBeenSet = false;
83
84 Aws::String m_lastModifiedRegion;
85 bool m_lastModifiedRegionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Connect
90} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
PredefinedAttributeSummary & WithLastModifiedRegion(LastModifiedRegionT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
PredefinedAttributeSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
PredefinedAttributeSummary & WithName(NameT &&value)
AWS_CONNECT_API PredefinedAttributeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API PredefinedAttributeSummary()=default
AWS_CONNECT_API PredefinedAttributeSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue