AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredefinedAttribute.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/PredefinedAttributeValues.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECT_API PredefinedAttribute();
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline PredefinedAttribute& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline PredefinedAttribute& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline PredefinedAttribute& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const PredefinedAttributeValues& GetValues() const{ return m_values; }
61 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
62 inline void SetValues(const PredefinedAttributeValues& value) { m_valuesHasBeenSet = true; m_values = value; }
63 inline void SetValues(PredefinedAttributeValues&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
64 inline PredefinedAttribute& WithValues(const PredefinedAttributeValues& value) { SetValues(value); return *this;}
65 inline PredefinedAttribute& WithValues(PredefinedAttributeValues&& value) { SetValues(std::move(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
73 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
74 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
75 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
77 inline PredefinedAttribute& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
79
81
84 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
85 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
86 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
87 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
88 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
89 inline PredefinedAttribute& WithLastModifiedRegion(const Aws::String& value) { SetLastModifiedRegion(value); return *this;}
90 inline PredefinedAttribute& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
91 inline PredefinedAttribute& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
99 bool m_valuesHasBeenSet = false;
100
101 Aws::Utils::DateTime m_lastModifiedTime;
102 bool m_lastModifiedTimeHasBeenSet = false;
103
104 Aws::String m_lastModifiedRegion;
105 bool m_lastModifiedRegionHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Connect
110} // namespace Aws
PredefinedAttribute & WithLastModifiedRegion(Aws::String &&value)
PredefinedAttribute & WithValues(const PredefinedAttributeValues &value)
PredefinedAttribute & WithLastModifiedTime(const Aws::Utils::DateTime &value)
PredefinedAttribute & WithLastModifiedTime(Aws::Utils::DateTime &&value)
PredefinedAttribute & WithValues(PredefinedAttributeValues &&value)
PredefinedAttribute & WithName(const char *value)
void SetValues(PredefinedAttributeValues &&value)
PredefinedAttribute & WithName(Aws::String &&value)
void SetLastModifiedRegion(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_CONNECT_API PredefinedAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
const PredefinedAttributeValues & GetValues() const
const Aws::String & GetLastModifiedRegion() const
void SetLastModifiedRegion(const Aws::String &value)
PredefinedAttribute & WithName(const Aws::String &value)
AWS_CONNECT_API PredefinedAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
PredefinedAttribute & WithLastModifiedRegion(const Aws::String &value)
PredefinedAttribute & WithLastModifiedRegion(const char *value)
void SetValues(const PredefinedAttributeValues &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue