AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline AuthenticationProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline AuthenticationProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline AuthenticationProfileSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline AuthenticationProfileSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline AuthenticationProfileSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline AuthenticationProfileSummary& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline AuthenticationProfileSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline AuthenticationProfileSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline AuthenticationProfileSummary& WithName(const char* value) { SetName(value); return *this;}
84
86
92 inline bool GetIsDefault() const{ return m_isDefault; }
93 inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; }
94 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
95 inline AuthenticationProfileSummary& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
103 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
104 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
105 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
109
111
115 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
116 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
117 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
118 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
119 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
122 inline AuthenticationProfileSummary& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
124 private:
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 Aws::String m_arn;
130 bool m_arnHasBeenSet = false;
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
135 bool m_isDefault;
136 bool m_isDefaultHasBeenSet = false;
137
138 Aws::Utils::DateTime m_lastModifiedTime;
139 bool m_lastModifiedTimeHasBeenSet = false;
140
141 Aws::String m_lastModifiedRegion;
142 bool m_lastModifiedRegionHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace Connect
147} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AuthenticationProfileSummary & WithArn(const Aws::String &value)
AuthenticationProfileSummary & WithLastModifiedRegion(const char *value)
AuthenticationProfileSummary & WithLastModifiedRegion(Aws::String &&value)
AuthenticationProfileSummary & WithName(const char *value)
AuthenticationProfileSummary & WithName(Aws::String &&value)
AuthenticationProfileSummary & WithName(const Aws::String &value)
AuthenticationProfileSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
AuthenticationProfileSummary & WithId(Aws::String &&value)
AuthenticationProfileSummary & WithArn(const char *value)
AuthenticationProfileSummary & WithId(const Aws::String &value)
AuthenticationProfileSummary & WithId(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
AuthenticationProfileSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AuthenticationProfileSummary & WithArn(Aws::String &&value)
AuthenticationProfileSummary & WithLastModifiedRegion(const Aws::String &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