AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline PredefinedAttributeSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline PredefinedAttributeSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline PredefinedAttributeSummary& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
60 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
61 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
62 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
66
68
71 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
72 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
73 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
74 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
75 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
77 inline PredefinedAttributeSummary& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
78 inline PredefinedAttributeSummary& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
80 private:
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 Aws::Utils::DateTime m_lastModifiedTime;
86 bool m_lastModifiedTimeHasBeenSet = false;
87
88 Aws::String m_lastModifiedRegion;
89 bool m_lastModifiedRegionHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
PredefinedAttributeSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_CONNECT_API PredefinedAttributeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PredefinedAttributeSummary & WithLastModifiedRegion(Aws::String &&value)
AWS_CONNECT_API PredefinedAttributeSummary(Aws::Utils::Json::JsonView jsonValue)
PredefinedAttributeSummary & WithLastModifiedRegion(const Aws::String &value)
PredefinedAttributeSummary & WithName(const Aws::String &value)
PredefinedAttributeSummary & WithLastModifiedRegion(const char *value)
PredefinedAttributeSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
PredefinedAttributeSummary & WithName(Aws::String &&value)
PredefinedAttributeSummary & WithName(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue