AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
AuthenticationProfileSummary.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
31 public:
32 AWS_CONNECT_API AuthenticationProfileSummary() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template <typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) {
63 m_arnHasBeenSet = true;
64 m_arn = std::forward<ArnT>(value);
65 }
66 template <typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
98 inline bool GetIsDefault() const { return m_isDefault; }
99 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
100 inline void SetIsDefault(bool value) {
101 m_isDefaultHasBeenSet = true;
102 m_isDefault = value;
103 }
105 SetIsDefault(value);
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
115 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
116 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
117 void SetLastModifiedTime(LastModifiedTimeT&& value) {
118 m_lastModifiedTimeHasBeenSet = true;
119 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
120 }
121 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
123 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
134 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
135 template <typename LastModifiedRegionT = Aws::String>
136 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
137 m_lastModifiedRegionHasBeenSet = true;
138 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
139 }
140 template <typename LastModifiedRegionT = Aws::String>
142 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_id;
148
149 Aws::String m_arn;
150
151 Aws::String m_name;
152
153 bool m_isDefault{false};
154
155 Aws::Utils::DateTime m_lastModifiedTime{};
156
157 Aws::String m_lastModifiedRegion;
158 bool m_idHasBeenSet = false;
159 bool m_arnHasBeenSet = false;
160 bool m_nameHasBeenSet = false;
161 bool m_isDefaultHasBeenSet = false;
162 bool m_lastModifiedTimeHasBeenSet = false;
163 bool m_lastModifiedRegionHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace Connect
168} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AuthenticationProfileSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CONNECT_API AuthenticationProfileSummary()=default
AuthenticationProfileSummary & WithArn(ArnT &&value)
AuthenticationProfileSummary & WithName(NameT &&value)
AuthenticationProfileSummary & WithLastModifiedRegion(LastModifiedRegionT &&value)
AuthenticationProfileSummary & WithId(IdT &&value)
AWS_CONNECT_API AuthenticationProfileSummary(Aws::Utils::Json::JsonView jsonValue)
AuthenticationProfileSummary & WithIsDefault(bool value)
AWS_CONNECT_API AuthenticationProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue