AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
SolutionBase.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/SolutionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PartnerCentralSelling
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PARTNERCENTRALSELLING_API SolutionBase() = default;
38 AWS_PARTNERCENTRALSELLING_API SolutionBase(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API SolutionBase& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetCatalog() const { return m_catalog; }
50 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
51 template<typename CatalogT = Aws::String>
52 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
53 template<typename CatalogT = Aws::String>
54 SolutionBase& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
56
58
61 inline const Aws::String& GetId() const { return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 template<typename IdT = Aws::String>
64 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
65 template<typename IdT = Aws::String>
66 SolutionBase& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
68
70
74 inline const Aws::String& GetArn() const { return m_arn; }
75 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
76 template<typename ArnT = Aws::String>
77 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
78 template<typename ArnT = Aws::String>
79 SolutionBase& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
81
83
86 inline const Aws::String& GetName() const { return m_name; }
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 template<typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
90 template<typename NameT = Aws::String>
91 SolutionBase& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
93
95
102 inline SolutionStatus GetStatus() const { return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(SolutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
105 inline SolutionBase& WithStatus(SolutionStatus value) { SetStatus(value); return *this;}
107
109
118 inline const Aws::String& GetCategory() const { return m_category; }
119 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
120 template<typename CategoryT = Aws::String>
121 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
122 template<typename CategoryT = Aws::String>
123 SolutionBase& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
131 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
132 template<typename CreatedDateT = Aws::Utils::DateTime>
133 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
134 template<typename CreatedDateT = Aws::Utils::DateTime>
135 SolutionBase& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
137 private:
138
139 Aws::String m_catalog;
140 bool m_catalogHasBeenSet = false;
141
142 Aws::String m_id;
143 bool m_idHasBeenSet = false;
144
145 Aws::String m_arn;
146 bool m_arnHasBeenSet = false;
147
148 Aws::String m_name;
149 bool m_nameHasBeenSet = false;
150
152 bool m_statusHasBeenSet = false;
153
154 Aws::String m_category;
155 bool m_categoryHasBeenSet = false;
156
157 Aws::Utils::DateTime m_createdDate{};
158 bool m_createdDateHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace PartnerCentralSelling
163} // namespace Aws
SolutionBase & WithStatus(SolutionStatus value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API SolutionBase()=default
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_PARTNERCENTRALSELLING_API SolutionBase & operator=(Aws::Utils::Json::JsonView jsonValue)
SolutionBase & WithCatalog(CatalogT &&value)
SolutionBase & WithCreatedDate(CreatedDateT &&value)
SolutionBase & WithCategory(CategoryT &&value)
AWS_PARTNERCENTRALSELLING_API SolutionBase(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue