AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AuthenticationProfileSummary.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
35 {
36 public:
37 AWS_CONNECT_API AuthenticationProfileSummary() = default;
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 AuthenticationProfileSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 AuthenticationProfileSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 AuthenticationProfileSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
86 inline bool GetIsDefault() const { return m_isDefault; }
87 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
88 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
89 inline AuthenticationProfileSummary& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
97 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
98 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
99 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
100 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
101 AuthenticationProfileSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
103
105
109 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
110 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
111 template<typename LastModifiedRegionT = Aws::String>
112 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
113 template<typename LastModifiedRegionT = Aws::String>
114 AuthenticationProfileSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
116 private:
117
118 Aws::String m_id;
119 bool m_idHasBeenSet = false;
120
121 Aws::String m_arn;
122 bool m_arnHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 bool m_isDefault{false};
128 bool m_isDefaultHasBeenSet = false;
129
130 Aws::Utils::DateTime m_lastModifiedTime{};
131 bool m_lastModifiedTimeHasBeenSet = false;
132
133 Aws::String m_lastModifiedRegion;
134 bool m_lastModifiedRegionHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Connect
139} // 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