AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
InventoryRelatedResource.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/InventoryAssociationStatus.h>
9#include <aws/acm/model/InventoryRelatedResourceMetadata.h>
10#include <aws/acm/model/IssuanceType.h>
11#include <aws/acm/model/RelatedResourceType.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ACM {
24namespace Model {
25
33 public:
34 AWS_ACM_API InventoryRelatedResource() = default;
38
40
43 inline RelatedResourceType GetResourceType() const { return m_resourceType; }
44 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
46 m_resourceTypeHasBeenSet = true;
47 m_resourceType = value;
48 }
50 SetResourceType(value);
51 return *this;
52 }
54
56
59 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
60 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
61 template <typename ResourceArnT = Aws::String>
62 void SetResourceArn(ResourceArnT&& value) {
63 m_resourceArnHasBeenSet = true;
64 m_resourceArn = std::forward<ResourceArnT>(value);
65 }
66 template <typename ResourceArnT = Aws::String>
68 SetResourceArn(std::forward<ResourceArnT>(value));
69 return *this;
70 }
72
74
78 inline IssuanceType GetIssuanceType() const { return m_issuanceType; }
79 inline bool IssuanceTypeHasBeenSet() const { return m_issuanceTypeHasBeenSet; }
80 inline void SetIssuanceType(IssuanceType value) {
81 m_issuanceTypeHasBeenSet = true;
82 m_issuanceType = value;
83 }
85 SetIssuanceType(value);
86 return *this;
87 }
89
91
95 inline InventoryAssociationStatus GetAssociationStatus() const { return m_associationStatus; }
96 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
98 m_associationStatusHasBeenSet = true;
99 m_associationStatus = value;
100 }
106
108
119 inline const InventoryRelatedResourceMetadata& GetMetadata() const { return m_metadata; }
120 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
121 template <typename MetadataT = InventoryRelatedResourceMetadata>
122 void SetMetadata(MetadataT&& value) {
123 m_metadataHasBeenSet = true;
124 m_metadata = std::forward<MetadataT>(value);
125 }
126 template <typename MetadataT = InventoryRelatedResourceMetadata>
128 SetMetadata(std::forward<MetadataT>(value));
129 return *this;
130 }
132 private:
134
135 Aws::String m_resourceArn;
136
137 IssuanceType m_issuanceType{IssuanceType::NOT_SET};
138
140
141 InventoryRelatedResourceMetadata m_metadata;
142 bool m_resourceTypeHasBeenSet = false;
143 bool m_resourceArnHasBeenSet = false;
144 bool m_issuanceTypeHasBeenSet = false;
145 bool m_associationStatusHasBeenSet = false;
146 bool m_metadataHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace ACM
151} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue