AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EngagementResourceAssociationSummary.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/model/ResourceType.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 PartnerCentralSelling
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary() = default;
42 AWS_PARTNERCENTRALSELLING_API EngagementResourceAssociationSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetCatalog() const { return m_catalog; }
52 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
53 template<typename CatalogT = Aws::String>
54 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
55 template<typename CatalogT = Aws::String>
56 EngagementResourceAssociationSummary& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
58
60
64 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
65 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
66 template<typename CreatedByT = Aws::String>
67 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
68 template<typename CreatedByT = Aws::String>
69 EngagementResourceAssociationSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
71
73
76 inline const Aws::String& GetEngagementId() const { return m_engagementId; }
77 inline bool EngagementIdHasBeenSet() const { return m_engagementIdHasBeenSet; }
78 template<typename EngagementIdT = Aws::String>
79 void SetEngagementId(EngagementIdT&& value) { m_engagementIdHasBeenSet = true; m_engagementId = std::forward<EngagementIdT>(value); }
80 template<typename EngagementIdT = Aws::String>
81 EngagementResourceAssociationSummary& WithEngagementId(EngagementIdT&& value) { SetEngagementId(std::forward<EngagementIdT>(value)); return *this;}
83
85
89 inline const Aws::String& GetResourceId() const { return m_resourceId; }
90 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
91 template<typename ResourceIdT = Aws::String>
92 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
93 template<typename ResourceIdT = Aws::String>
94 EngagementResourceAssociationSummary& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
96
98
101 inline ResourceType GetResourceType() const { return m_resourceType; }
102 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
103 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
106 private:
107
108 Aws::String m_catalog;
109 bool m_catalogHasBeenSet = false;
110
111 Aws::String m_createdBy;
112 bool m_createdByHasBeenSet = false;
113
114 Aws::String m_engagementId;
115 bool m_engagementIdHasBeenSet = false;
116
117 Aws::String m_resourceId;
118 bool m_resourceIdHasBeenSet = false;
119
120 ResourceType m_resourceType{ResourceType::NOT_SET};
121 bool m_resourceTypeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace PartnerCentralSelling
126} // 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