AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_CONNECT_API SecurityProfileSearchSummary() = default;
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 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 SecurityProfileSearchSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_organizationResourceIdHasBeenSet = true; m_organizationResourceId = std::forward<OrganizationResourceIdT>(value); }
62 template<typename OrganizationResourceIdT = Aws::String>
63 SecurityProfileSearchSummary& WithOrganizationResourceId(OrganizationResourceIdT&& value) { SetOrganizationResourceId(std::forward<OrganizationResourceIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetArn() const { return m_arn; }
71 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
72 template<typename ArnT = Aws::String>
73 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
74 template<typename ArnT = Aws::String>
75 SecurityProfileSearchSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetSecurityProfileName() const { return m_securityProfileName; }
83 inline bool SecurityProfileNameHasBeenSet() const { return m_securityProfileNameHasBeenSet; }
84 template<typename SecurityProfileNameT = Aws::String>
85 void SetSecurityProfileName(SecurityProfileNameT&& value) { m_securityProfileNameHasBeenSet = true; m_securityProfileName = std::forward<SecurityProfileNameT>(value); }
86 template<typename SecurityProfileNameT = Aws::String>
87 SecurityProfileSearchSummary& WithSecurityProfileName(SecurityProfileNameT&& value) { SetSecurityProfileName(std::forward<SecurityProfileNameT>(value)); return *this;}
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template<typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
98 template<typename DescriptionT = Aws::String>
99 SecurityProfileSearchSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
101
103
107 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
108 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
109 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
111 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 SecurityProfileSearchSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
113 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
114 SecurityProfileSearchSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
115 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
116 }
118 private:
119
120 Aws::String m_id;
121 bool m_idHasBeenSet = false;
122
123 Aws::String m_organizationResourceId;
124 bool m_organizationResourceIdHasBeenSet = false;
125
126 Aws::String m_arn;
127 bool m_arnHasBeenSet = false;
128
129 Aws::String m_securityProfileName;
130 bool m_securityProfileNameHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
136 bool m_tagsHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Connect
141} // 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