AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
InventoryCertificateIdentity.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ACM {
21namespace Model {
22
29 public:
30 AWS_ACM_API InventoryCertificateIdentity() = default;
34
36
40 inline const Aws::String& GetSubject() const { return m_subject; }
41 inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; }
42 template <typename SubjectT = Aws::String>
43 void SetSubject(SubjectT&& value) {
44 m_subjectHasBeenSet = true;
45 m_subject = std::forward<SubjectT>(value);
46 }
47 template <typename SubjectT = Aws::String>
49 SetSubject(std::forward<SubjectT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::Vector<Aws::String>& GetIdentifiers() const { return m_identifiers; }
62 inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; }
63 template <typename IdentifiersT = Aws::Vector<Aws::String>>
64 void SetIdentifiers(IdentifiersT&& value) {
65 m_identifiersHasBeenSet = true;
66 m_identifiers = std::forward<IdentifiersT>(value);
67 }
68 template <typename IdentifiersT = Aws::Vector<Aws::String>>
70 SetIdentifiers(std::forward<IdentifiersT>(value));
71 return *this;
72 }
73 template <typename IdentifiersT = Aws::String>
75 m_identifiersHasBeenSet = true;
76 m_identifiers.emplace_back(std::forward<IdentifiersT>(value));
77 return *this;
78 }
80
82
87 inline bool GetHasAdditionalIdentifiers() const { return m_hasAdditionalIdentifiers; }
88 inline bool HasAdditionalIdentifiersHasBeenSet() const { return m_hasAdditionalIdentifiersHasBeenSet; }
89 inline void SetHasAdditionalIdentifiers(bool value) {
90 m_hasAdditionalIdentifiersHasBeenSet = true;
91 m_hasAdditionalIdentifiers = value;
92 }
95 return *this;
96 }
98 private:
99 Aws::String m_subject;
100
101 Aws::Vector<Aws::String> m_identifiers;
102
103 bool m_hasAdditionalIdentifiers{false};
104 bool m_subjectHasBeenSet = false;
105 bool m_identifiersHasBeenSet = false;
106 bool m_hasAdditionalIdentifiersHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace ACM
111} // namespace Aws
InventoryCertificateIdentity & WithHasAdditionalIdentifiers(bool value)
const Aws::Vector< Aws::String > & GetIdentifiers() const
AWS_ACM_API InventoryCertificateIdentity(Aws::Utils::Json::JsonView jsonValue)
InventoryCertificateIdentity & AddIdentifiers(IdentifiersT &&value)
InventoryCertificateIdentity & WithSubject(SubjectT &&value)
AWS_ACM_API InventoryCertificateIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACM_API InventoryCertificateIdentity()=default
InventoryCertificateIdentity & WithIdentifiers(IdentifiersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue