AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecurityProfileSearchSummary.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/memory/stl/AWSMap.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
34 {
35 public:
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline SecurityProfileSearchSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline SecurityProfileSearchSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline SecurityProfileSearchSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetOrganizationResourceId() const{ return m_organizationResourceId; }
61 inline bool OrganizationResourceIdHasBeenSet() const { return m_organizationResourceIdHasBeenSet; }
62 inline void SetOrganizationResourceId(const Aws::String& value) { m_organizationResourceIdHasBeenSet = true; m_organizationResourceId = value; }
63 inline void SetOrganizationResourceId(Aws::String&& value) { m_organizationResourceIdHasBeenSet = true; m_organizationResourceId = std::move(value); }
64 inline void SetOrganizationResourceId(const char* value) { m_organizationResourceIdHasBeenSet = true; m_organizationResourceId.assign(value); }
67 inline SecurityProfileSearchSummary& WithOrganizationResourceId(const char* value) { SetOrganizationResourceId(value); return *this;}
69
71
74 inline const Aws::String& GetArn() const{ return m_arn; }
75 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
76 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
77 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
78 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
79 inline SecurityProfileSearchSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
80 inline SecurityProfileSearchSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
81 inline SecurityProfileSearchSummary& WithArn(const char* value) { SetArn(value); return *this;}
83
85
88 inline const Aws::String& GetSecurityProfileName() const{ return m_securityProfileName; }
89 inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
90 inline void SetSecurityProfileName(const Aws::String& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = value; }
91 inline void SetSecurityProfileName(Aws::String&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::move(value); }
92 inline void SetSecurityProfileName(const char* value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName.assign(value); }
95 inline SecurityProfileSearchSummary& WithSecurityProfileName(const char* value) { SetSecurityProfileName(value); return *this;}
97
99
102 inline const Aws::String& GetDescription() const{ return m_description; }
103 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
104 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
105 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
106 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
107 inline SecurityProfileSearchSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 inline SecurityProfileSearchSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
109 inline SecurityProfileSearchSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
111
113
117 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
118 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
119 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
120 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
122 inline SecurityProfileSearchSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
123 inline SecurityProfileSearchSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
124 inline SecurityProfileSearchSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
125 inline SecurityProfileSearchSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
126 inline SecurityProfileSearchSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
127 inline SecurityProfileSearchSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
128 inline SecurityProfileSearchSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
129 inline SecurityProfileSearchSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
131 private:
132
133 Aws::String m_id;
134 bool m_idHasBeenSet = false;
135
136 Aws::String m_organizationResourceId;
137 bool m_organizationResourceIdHasBeenSet = false;
138
139 Aws::String m_arn;
140 bool m_arnHasBeenSet = false;
141
142 Aws::String m_securityProfileName;
143 bool m_securityProfileNameHasBeenSet = false;
144
145 Aws::String m_description;
146 bool m_descriptionHasBeenSet = false;
147
149 bool m_tagsHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Connect
154} // namespace Aws
SecurityProfileSearchSummary & WithId(const Aws::String &value)
SecurityProfileSearchSummary & AddTags(const char *key, Aws::String &&value)
SecurityProfileSearchSummary & WithSecurityProfileName(const Aws::String &value)
SecurityProfileSearchSummary & WithOrganizationResourceId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SecurityProfileSearchSummary & WithId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
SecurityProfileSearchSummary & AddTags(Aws::String &&key, const char *value)
SecurityProfileSearchSummary & WithArn(const Aws::String &value)
SecurityProfileSearchSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
SecurityProfileSearchSummary & WithSecurityProfileName(Aws::String &&value)
SecurityProfileSearchSummary & AddTags(const Aws::String &key, Aws::String &&value)
SecurityProfileSearchSummary & WithOrganizationResourceId(const char *value)
AWS_CONNECT_API SecurityProfileSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SecurityProfileSearchSummary & AddTags(const char *key, const char *value)
SecurityProfileSearchSummary & AddTags(Aws::String &&key, Aws::String &&value)
SecurityProfileSearchSummary & WithArn(Aws::String &&value)
SecurityProfileSearchSummary & WithArn(const char *value)
SecurityProfileSearchSummary & WithDescription(Aws::String &&value)
SecurityProfileSearchSummary & AddTags(const Aws::String &key, const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityProfileSearchSummary & WithSecurityProfileName(const char *value)
SecurityProfileSearchSummary & WithOrganizationResourceId(Aws::String &&value)
AWS_CONNECT_API SecurityProfileSearchSummary(Aws::Utils::Json::JsonView jsonValue)
SecurityProfileSearchSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
SecurityProfileSearchSummary & AddTags(Aws::String &&key, const Aws::String &value)
SecurityProfileSearchSummary & WithId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
SecurityProfileSearchSummary & WithDescription(const Aws::String &value)
SecurityProfileSearchSummary & WithDescription(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue