AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 PredefinedAttribute& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const PredefinedAttributeValues& GetValues() const { return m_values; }
59 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
60 template<typename ValuesT = PredefinedAttributeValues>
61 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
62 template<typename ValuesT = PredefinedAttributeValues>
63 PredefinedAttribute& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
71 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
72 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
73 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
74 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
75 PredefinedAttribute& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
77
79
82 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
83 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
84 template<typename LastModifiedRegionT = Aws::String>
85 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
86 template<typename LastModifiedRegionT = Aws::String>
87 PredefinedAttribute& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
89 private:
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
95 bool m_valuesHasBeenSet = false;
96
97 Aws::Utils::DateTime m_lastModifiedTime{};
98 bool m_lastModifiedTimeHasBeenSet = false;
99
100 Aws::String m_lastModifiedRegion;
101 bool m_lastModifiedRegionHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Connect
106} // namespace Aws
PredefinedAttribute & WithLastModifiedRegion(LastModifiedRegionT &&value)
PredefinedAttribute & WithName(NameT &&value)
AWS_CONNECT_API PredefinedAttribute()=default
void SetLastModifiedRegion(LastModifiedRegionT &&value)
PredefinedAttribute & WithValues(ValuesT &&value)
AWS_CONNECT_API PredefinedAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const PredefinedAttributeValues & GetValues() const
const Aws::String & GetLastModifiedRegion() const
AWS_CONNECT_API PredefinedAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
PredefinedAttribute & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue