AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityProfileSummary.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
33 {
34 public:
35 AWS_CONNECT_API SecurityProfileSummary();
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline SecurityProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline SecurityProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline SecurityProfileSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
62 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 inline SecurityProfileSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 inline SecurityProfileSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 inline SecurityProfileSummary& WithArn(const char* value) { SetArn(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline SecurityProfileSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline SecurityProfileSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline SecurityProfileSummary& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
88 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
89 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
90 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
92 inline SecurityProfileSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
100 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
101 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
102 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
103 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
105 inline SecurityProfileSummary& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
106 inline SecurityProfileSummary& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
108 private:
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::Utils::DateTime m_lastModifiedTime;
120 bool m_lastModifiedTimeHasBeenSet = false;
121
122 Aws::String m_lastModifiedRegion;
123 bool m_lastModifiedRegionHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Connect
128} // namespace Aws
SecurityProfileSummary & WithLastModifiedRegion(Aws::String &&value)
SecurityProfileSummary & WithId(Aws::String &&value)
SecurityProfileSummary & WithArn(const char *value)
SecurityProfileSummary & WithLastModifiedRegion(const Aws::String &value)
SecurityProfileSummary & WithArn(const Aws::String &value)
SecurityProfileSummary & WithName(Aws::String &&value)
SecurityProfileSummary & WithName(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityProfileSummary & WithId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
SecurityProfileSummary & WithArn(Aws::String &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
AWS_CONNECT_API SecurityProfileSummary(Aws::Utils::Json::JsonView jsonValue)
SecurityProfileSummary & WithName(const char *value)
SecurityProfileSummary & WithId(const char *value)
SecurityProfileSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedRegion(const Aws::String &value)
SecurityProfileSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
SecurityProfileSummary & WithLastModifiedRegion(const char *value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_CONNECT_API SecurityProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue