AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Recommendation.h
1
6#pragma once
7#include <aws/pi/PI_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 PI
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PI_API Recommendation();
38
39
41
44 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
45 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
46 inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
47 inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
48 inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
49 inline Recommendation& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;}
50 inline Recommendation& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;}
51 inline Recommendation& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
53
55
60 inline const Aws::String& GetRecommendationDescription() const{ return m_recommendationDescription; }
61 inline bool RecommendationDescriptionHasBeenSet() const { return m_recommendationDescriptionHasBeenSet; }
62 inline void SetRecommendationDescription(const Aws::String& value) { m_recommendationDescriptionHasBeenSet = true; m_recommendationDescription = value; }
63 inline void SetRecommendationDescription(Aws::String&& value) { m_recommendationDescriptionHasBeenSet = true; m_recommendationDescription = std::move(value); }
64 inline void SetRecommendationDescription(const char* value) { m_recommendationDescriptionHasBeenSet = true; m_recommendationDescription.assign(value); }
66 inline Recommendation& WithRecommendationDescription(Aws::String&& value) { SetRecommendationDescription(std::move(value)); return *this;}
67 inline Recommendation& WithRecommendationDescription(const char* value) { SetRecommendationDescription(value); return *this;}
69 private:
70
71 Aws::String m_recommendationId;
72 bool m_recommendationIdHasBeenSet = false;
73
74 Aws::String m_recommendationDescription;
75 bool m_recommendationDescriptionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace PI
80} // namespace Aws
Recommendation & WithRecommendationDescription(const Aws::String &value)
void SetRecommendationDescription(Aws::String &&value)
void SetRecommendationDescription(const char *value)
void SetRecommendationId(const Aws::String &value)
Recommendation & WithRecommendationId(Aws::String &&value)
void SetRecommendationDescription(const Aws::String &value)
const Aws::String & GetRecommendationId() const
Recommendation & WithRecommendationDescription(Aws::String &&value)
Recommendation & WithRecommendationId(const Aws::String &value)
Recommendation & WithRecommendationId(const char *value)
void SetRecommendationId(Aws::String &&value)
AWS_PI_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
AWS_PI_API Aws::Utils::Json::JsonValue Jsonize() const
Recommendation & WithRecommendationDescription(const char *value)
bool RecommendationDescriptionHasBeenSet() const
AWS_PI_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRecommendationId(const char *value)
const Aws::String & GetRecommendationDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue