AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EngagementResourceAssociationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/ResourceType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PartnerCentralSelling {
21namespace Model {
22
35 public:
36 AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary() = default;
37 AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetCatalog() const { return m_catalog; }
46 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
47 template <typename CatalogT = Aws::String>
48 void SetCatalog(CatalogT&& value) {
49 m_catalogHasBeenSet = true;
50 m_catalog = std::forward<CatalogT>(value);
51 }
52 template <typename CatalogT = Aws::String>
54 SetCatalog(std::forward<CatalogT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
64 inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; }
65 template <typename EngagementIdT = Aws::String>
66 void SetEngagementId(EngagementIdT&& value) {
67 m_engagementIdHasBeenSet = true;
68 m_engagementId = std::forward<EngagementIdT>(value);
69 }
70 template <typename EngagementIdT = Aws::String>
72 SetEngagementId(std::forward<EngagementIdT>(value));
73 return *this;
74 }
76
78
81 inline ResourceType GetResourceType() const { return m_resourceType; }
82 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
83 inline void SetResourceType(ResourceType value) {
84 m_resourceTypeHasBeenSet = true;
85 m_resourceType = value;
86 }
88 SetResourceType(value);
89 return *this;
90 }
92
94
98 inline const Aws::String& GetResourceId() const { return m_resourceId; }
99 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
100 template <typename ResourceIdT = Aws::String>
101 void SetResourceId(ResourceIdT&& value) {
102 m_resourceIdHasBeenSet = true;
103 m_resourceId = std::forward<ResourceIdT>(value);
104 }
105 template <typename ResourceIdT = Aws::String>
107 SetResourceId(std::forward<ResourceIdT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
118 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
119 template <typename CreatedByT = Aws::String>
120 void SetCreatedBy(CreatedByT&& value) {
121 m_createdByHasBeenSet = true;
122 m_createdBy = std::forward<CreatedByT>(value);
123 }
124 template <typename CreatedByT = Aws::String>
126 SetCreatedBy(std::forward<CreatedByT>(value));
127 return *this;
128 }
130 private:
131 Aws::String m_catalog;
132
133 Aws::String m_engagementId;
134
135 ResourceType m_resourceType{ResourceType::NOT_SET};
136
137 Aws::String m_resourceId;
138
139 Aws::String m_createdBy;
140 bool m_catalogHasBeenSet = false;
141 bool m_engagementIdHasBeenSet = false;
142 bool m_resourceTypeHasBeenSet = false;
143 bool m_resourceIdHasBeenSet = false;
144 bool m_createdByHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace PartnerCentralSelling
149} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
EngagementResourceAssociationSummary & WithEngagementId(EngagementIdT &&value)
AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary()=default
AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue