AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
MarketplaceInformation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EKS {
20namespace Model {
21
29 public:
30 AWS_EKS_API MarketplaceInformation() = default;
34
36
39 inline const Aws::String& GetProductId() const { return m_productId; }
40 inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; }
41 template <typename ProductIdT = Aws::String>
42 void SetProductId(ProductIdT&& value) {
43 m_productIdHasBeenSet = true;
44 m_productId = std::forward<ProductIdT>(value);
45 }
46 template <typename ProductIdT = Aws::String>
48 SetProductId(std::forward<ProductIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetProductUrl() const { return m_productUrl; }
58 inline bool ProductUrlHasBeenSet() const { return m_productUrlHasBeenSet; }
59 template <typename ProductUrlT = Aws::String>
60 void SetProductUrl(ProductUrlT&& value) {
61 m_productUrlHasBeenSet = true;
62 m_productUrl = std::forward<ProductUrlT>(value);
63 }
64 template <typename ProductUrlT = Aws::String>
65 MarketplaceInformation& WithProductUrl(ProductUrlT&& value) {
66 SetProductUrl(std::forward<ProductUrlT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_productId;
72
73 Aws::String m_productUrl;
74 bool m_productIdHasBeenSet = false;
75 bool m_productUrlHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace EKS
80} // namespace Aws
AWS_EKS_API MarketplaceInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API MarketplaceInformation(Aws::Utils::Json::JsonView jsonValue)
MarketplaceInformation & WithProductUrl(ProductUrlT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
MarketplaceInformation & WithProductId(ProductIdT &&value)
AWS_EKS_API MarketplaceInformation()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue