AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
PredefinedAttributeSummary.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 PredefinedAttributeSummary() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
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) {
61 m_lastModifiedTimeHasBeenSet = true;
62 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
63 }
64 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
66 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
76 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
77 template <typename LastModifiedRegionT = Aws::String>
78 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
79 m_lastModifiedRegionHasBeenSet = true;
80 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
81 }
82 template <typename LastModifiedRegionT = Aws::String>
83 PredefinedAttributeSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) {
84 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_name;
90
91 Aws::Utils::DateTime m_lastModifiedTime{};
92
93 Aws::String m_lastModifiedRegion;
94 bool m_nameHasBeenSet = false;
95 bool m_lastModifiedTimeHasBeenSet = false;
96 bool m_lastModifiedRegionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Connect
101} // 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