AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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/core/utils/DateTime.h>
10#include <aws/partnercentral-selling/model/SolutionStatus.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
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 SolutionBase& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
62 inline const Aws::String& GetCatalog() const { return m_catalog; }
63 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
64 template<typename CatalogT = Aws::String>
65 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
66 template<typename CatalogT = Aws::String>
67 SolutionBase& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
69
71
80 inline const Aws::String& GetCategory() const { return m_category; }
81 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
82 template<typename CategoryT = Aws::String>
83 void SetCategory(CategoryT&& value) { m_categoryHasBeenSet = true; m_category = std::forward<CategoryT>(value); }
84 template<typename CategoryT = Aws::String>
85 SolutionBase& WithCategory(CategoryT&& value) { SetCategory(std::forward<CategoryT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
93 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
94 template<typename CreatedDateT = Aws::Utils::DateTime>
95 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
96 template<typename CreatedDateT = Aws::Utils::DateTime>
97 SolutionBase& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
99
101
104 inline const Aws::String& GetId() const { return m_id; }
105 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
106 template<typename IdT = Aws::String>
107 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
108 template<typename IdT = Aws::String>
109 SolutionBase& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
111
113
116 inline const Aws::String& GetName() const { return m_name; }
117 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
118 template<typename NameT = Aws::String>
119 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
120 template<typename NameT = Aws::String>
121 SolutionBase& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
123
125
132 inline SolutionStatus GetStatus() const { return m_status; }
133 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
134 inline void SetStatus(SolutionStatus value) { m_statusHasBeenSet = true; m_status = value; }
135 inline SolutionBase& WithStatus(SolutionStatus value) { SetStatus(value); return *this;}
137 private:
138
139 Aws::String m_arn;
140 bool m_arnHasBeenSet = false;
141
142 Aws::String m_catalog;
143 bool m_catalogHasBeenSet = false;
144
145 Aws::String m_category;
146 bool m_categoryHasBeenSet = false;
147
148 Aws::Utils::DateTime m_createdDate{};
149 bool m_createdDateHasBeenSet = false;
150
151 Aws::String m_id;
152 bool m_idHasBeenSet = false;
153
154 Aws::String m_name;
155 bool m_nameHasBeenSet = false;
156
158 bool m_statusHasBeenSet = 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