AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SavingsPlansPurchaseRecommendationMetadata.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CostExplorer
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
46 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
47 inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
48 inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
49 inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
54
56
59 inline const Aws::String& GetGenerationTimestamp() const{ return m_generationTimestamp; }
60 inline bool GenerationTimestampHasBeenSet() const { return m_generationTimestampHasBeenSet; }
61 inline void SetGenerationTimestamp(const Aws::String& value) { m_generationTimestampHasBeenSet = true; m_generationTimestamp = value; }
62 inline void SetGenerationTimestamp(Aws::String&& value) { m_generationTimestampHasBeenSet = true; m_generationTimestamp = std::move(value); }
63 inline void SetGenerationTimestamp(const char* value) { m_generationTimestampHasBeenSet = true; m_generationTimestamp.assign(value); }
68
70
73 inline const Aws::String& GetAdditionalMetadata() const{ return m_additionalMetadata; }
74 inline bool AdditionalMetadataHasBeenSet() const { return m_additionalMetadataHasBeenSet; }
75 inline void SetAdditionalMetadata(const Aws::String& value) { m_additionalMetadataHasBeenSet = true; m_additionalMetadata = value; }
76 inline void SetAdditionalMetadata(Aws::String&& value) { m_additionalMetadataHasBeenSet = true; m_additionalMetadata = std::move(value); }
77 inline void SetAdditionalMetadata(const char* value) { m_additionalMetadataHasBeenSet = true; m_additionalMetadata.assign(value); }
82 private:
83
84 Aws::String m_recommendationId;
85 bool m_recommendationIdHasBeenSet = false;
86
87 Aws::String m_generationTimestamp;
88 bool m_generationTimestampHasBeenSet = false;
89
90 Aws::String m_additionalMetadata;
91 bool m_additionalMetadataHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CostExplorer
96} // namespace Aws
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
SavingsPlansPurchaseRecommendationMetadata & WithGenerationTimestamp(const Aws::String &value)
SavingsPlansPurchaseRecommendationMetadata & WithRecommendationId(const char *value)
SavingsPlansPurchaseRecommendationMetadata & WithGenerationTimestamp(Aws::String &&value)
SavingsPlansPurchaseRecommendationMetadata & WithGenerationTimestamp(const char *value)
SavingsPlansPurchaseRecommendationMetadata & WithRecommendationId(Aws::String &&value)
SavingsPlansPurchaseRecommendationMetadata & WithAdditionalMetadata(Aws::String &&value)
SavingsPlansPurchaseRecommendationMetadata & WithAdditionalMetadata(const char *value)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API SavingsPlansPurchaseRecommendationMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
SavingsPlansPurchaseRecommendationMetadata & WithRecommendationId(const Aws::String &value)
SavingsPlansPurchaseRecommendationMetadata & WithAdditionalMetadata(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue