AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
SecurityProfileSearchSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.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
30 public:
31 AWS_CONNECT_API SecurityProfileSearchSummary() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetOrganizationResourceId() const { return m_organizationResourceId; }
59 inline bool OrganizationResourceIdHasBeenSet() const { return m_organizationResourceIdHasBeenSet; }
60 template <typename OrganizationResourceIdT = Aws::String>
61 void SetOrganizationResourceId(OrganizationResourceIdT&& value) {
62 m_organizationResourceIdHasBeenSet = true;
63 m_organizationResourceId = std::forward<OrganizationResourceIdT>(value);
64 }
65 template <typename OrganizationResourceIdT = Aws::String>
66 SecurityProfileSearchSummary& WithOrganizationResourceId(OrganizationResourceIdT&& value) {
67 SetOrganizationResourceId(std::forward<OrganizationResourceIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetArn() const { return m_arn; }
77 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
78 template <typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) {
80 m_arnHasBeenSet = true;
81 m_arn = std::forward<ArnT>(value);
82 }
83 template <typename ArnT = Aws::String>
85 SetArn(std::forward<ArnT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetSecurityProfileName() const { return m_securityProfileName; }
95 inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
96 template <typename SecurityProfileNameT = Aws::String>
97 void SetSecurityProfileName(SecurityProfileNameT&& value) {
98 m_securityProfileNameHasBeenSet = true;
99 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
100 }
101 template <typename SecurityProfileNameT = Aws::String>
103 SetSecurityProfileName(std::forward<SecurityProfileNameT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetDescription() const { return m_description; }
113 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
114 template <typename DescriptionT = Aws::String>
115 void SetDescription(DescriptionT&& value) {
116 m_descriptionHasBeenSet = true;
117 m_description = std::forward<DescriptionT>(value);
118 }
119 template <typename DescriptionT = Aws::String>
121 SetDescription(std::forward<DescriptionT>(value));
122 return *this;
123 }
125
127
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 void SetTags(TagsT&& value) {
135 m_tagsHasBeenSet = true;
136 m_tags = std::forward<TagsT>(value);
137 }
138 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 SetTags(std::forward<TagsT>(value));
141 return *this;
142 }
143 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
144 SecurityProfileSearchSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
145 m_tagsHasBeenSet = true;
146 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
147 return *this;
148 }
150 private:
151 Aws::String m_id;
152
153 Aws::String m_organizationResourceId;
154
155 Aws::String m_arn;
156
157 Aws::String m_securityProfileName;
158
159 Aws::String m_description;
160
162 bool m_idHasBeenSet = false;
163 bool m_organizationResourceIdHasBeenSet = false;
164 bool m_arnHasBeenSet = false;
165 bool m_securityProfileNameHasBeenSet = false;
166 bool m_descriptionHasBeenSet = false;
167 bool m_tagsHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace Connect
172} // namespace Aws
SecurityProfileSearchSummary & WithSecurityProfileName(SecurityProfileNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SecurityProfileSearchSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
SecurityProfileSearchSummary & WithDescription(DescriptionT &&value)
AWS_CONNECT_API SecurityProfileSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOrganizationResourceId(OrganizationResourceIdT &&value)
AWS_CONNECT_API SecurityProfileSearchSummary()=default
SecurityProfileSearchSummary & WithArn(ArnT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SecurityProfileSearchSummary & WithTags(TagsT &&value)
AWS_CONNECT_API SecurityProfileSearchSummary(Aws::Utils::Json::JsonView jsonValue)
SecurityProfileSearchSummary & WithOrganizationResourceId(OrganizationResourceIdT &&value)
SecurityProfileSearchSummary & WithId(IdT &&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