AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceCatalogProvisioningDetails.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/ProvisioningParameter.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 SageMaker
24{
25namespace Model
26{
27
37 {
38 public:
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetProductId() const{ return m_productId; }
50 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
51 inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; }
52 inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); }
53 inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); }
54 inline ServiceCatalogProvisioningDetails& WithProductId(const Aws::String& value) { SetProductId(value); return *this;}
55 inline ServiceCatalogProvisioningDetails& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;}
56 inline ServiceCatalogProvisioningDetails& WithProductId(const char* value) { SetProductId(value); return *this;}
58
60
63 inline const Aws::String& GetProvisioningArtifactId() const{ return m_provisioningArtifactId; }
64 inline bool ProvisioningArtifactIdHasBeenSet() const { return m_provisioningArtifactIdHasBeenSet; }
65 inline void SetProvisioningArtifactId(const Aws::String& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = value; }
66 inline void SetProvisioningArtifactId(Aws::String&& value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId = std::move(value); }
67 inline void SetProvisioningArtifactId(const char* value) { m_provisioningArtifactIdHasBeenSet = true; m_provisioningArtifactId.assign(value); }
72
74
78 inline const Aws::String& GetPathId() const{ return m_pathId; }
79 inline bool PathIdHasBeenSet() const { return m_pathIdHasBeenSet; }
80 inline void SetPathId(const Aws::String& value) { m_pathIdHasBeenSet = true; m_pathId = value; }
81 inline void SetPathId(Aws::String&& value) { m_pathIdHasBeenSet = true; m_pathId = std::move(value); }
82 inline void SetPathId(const char* value) { m_pathIdHasBeenSet = true; m_pathId.assign(value); }
83 inline ServiceCatalogProvisioningDetails& WithPathId(const Aws::String& value) { SetPathId(value); return *this;}
84 inline ServiceCatalogProvisioningDetails& WithPathId(Aws::String&& value) { SetPathId(std::move(value)); return *this;}
85 inline ServiceCatalogProvisioningDetails& WithPathId(const char* value) { SetPathId(value); return *this;}
87
89
92 inline const Aws::Vector<ProvisioningParameter>& GetProvisioningParameters() const{ return m_provisioningParameters; }
93 inline bool ProvisioningParametersHasBeenSet() const { return m_provisioningParametersHasBeenSet; }
94 inline void SetProvisioningParameters(const Aws::Vector<ProvisioningParameter>& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters = value; }
95 inline void SetProvisioningParameters(Aws::Vector<ProvisioningParameter>&& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters = std::move(value); }
98 inline ServiceCatalogProvisioningDetails& AddProvisioningParameters(const ProvisioningParameter& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters.push_back(value); return *this; }
99 inline ServiceCatalogProvisioningDetails& AddProvisioningParameters(ProvisioningParameter&& value) { m_provisioningParametersHasBeenSet = true; m_provisioningParameters.push_back(std::move(value)); return *this; }
101 private:
102
103 Aws::String m_productId;
104 bool m_productIdHasBeenSet = false;
105
106 Aws::String m_provisioningArtifactId;
107 bool m_provisioningArtifactIdHasBeenSet = false;
108
109 Aws::String m_pathId;
110 bool m_pathIdHasBeenSet = false;
111
112 Aws::Vector<ProvisioningParameter> m_provisioningParameters;
113 bool m_provisioningParametersHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SageMaker
118} // namespace Aws
ServiceCatalogProvisioningDetails & WithPathId(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProvisioningParameters(Aws::Vector< ProvisioningParameter > &&value)
ServiceCatalogProvisioningDetails & WithProvisioningArtifactId(const char *value)
AWS_SAGEMAKER_API ServiceCatalogProvisioningDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceCatalogProvisioningDetails & WithProvisioningArtifactId(const Aws::String &value)
ServiceCatalogProvisioningDetails & AddProvisioningParameters(ProvisioningParameter &&value)
AWS_SAGEMAKER_API ServiceCatalogProvisioningDetails(Aws::Utils::Json::JsonView jsonValue)
ServiceCatalogProvisioningDetails & AddProvisioningParameters(const ProvisioningParameter &value)
ServiceCatalogProvisioningDetails & WithPathId(const char *value)
ServiceCatalogProvisioningDetails & WithPathId(const Aws::String &value)
ServiceCatalogProvisioningDetails & WithProductId(const char *value)
void SetProvisioningParameters(const Aws::Vector< ProvisioningParameter > &value)
ServiceCatalogProvisioningDetails & WithProductId(const Aws::String &value)
const Aws::Vector< ProvisioningParameter > & GetProvisioningParameters() const
ServiceCatalogProvisioningDetails & WithProvisioningArtifactId(Aws::String &&value)
ServiceCatalogProvisioningDetails & WithProvisioningParameters(const Aws::Vector< ProvisioningParameter > &value)
ServiceCatalogProvisioningDetails & WithProvisioningParameters(Aws::Vector< ProvisioningParameter > &&value)
ServiceCatalogProvisioningDetails & WithProductId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue