AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
AwsOpportunityInsights.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/AwsProductsSpendInsightsBySource.h>
10#include <aws/partnercentral-selling/model/EngagementScore.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling {
22namespace Model {
23
32 public:
33 AWS_PARTNERCENTRALSELLING_API AwsOpportunityInsights() = default;
34 AWS_PARTNERCENTRALSELLING_API AwsOpportunityInsights(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API AwsOpportunityInsights& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetNextBestActions() const { return m_nextBestActions; }
44 inline bool NextBestActionsHasBeenSet() const { return m_nextBestActionsHasBeenSet; }
45 template <typename NextBestActionsT = Aws::String>
46 void SetNextBestActions(NextBestActionsT&& value) {
47 m_nextBestActionsHasBeenSet = true;
48 m_nextBestActions = std::forward<NextBestActionsT>(value);
49 }
50 template <typename NextBestActionsT = Aws::String>
51 AwsOpportunityInsights& WithNextBestActions(NextBestActionsT&& value) {
52 SetNextBestActions(std::forward<NextBestActionsT>(value));
53 return *this;
54 }
56
58
63 inline EngagementScore GetEngagementScore() const { return m_engagementScore; }
64 inline bool EngagementScoreHasBeenSet() const { return m_engagementScoreHasBeenSet; }
66 m_engagementScoreHasBeenSet = true;
67 m_engagementScore = value;
68 }
70 SetEngagementScore(value);
71 return *this;
72 }
74
76
80 inline const AwsProductsSpendInsightsBySource& GetAwsProductsSpendInsightsBySource() const { return m_awsProductsSpendInsightsBySource; }
81 inline bool AwsProductsSpendInsightsBySourceHasBeenSet() const { return m_awsProductsSpendInsightsBySourceHasBeenSet; }
82 template <typename AwsProductsSpendInsightsBySourceT = AwsProductsSpendInsightsBySource>
83 void SetAwsProductsSpendInsightsBySource(AwsProductsSpendInsightsBySourceT&& value) {
84 m_awsProductsSpendInsightsBySourceHasBeenSet = true;
85 m_awsProductsSpendInsightsBySource = std::forward<AwsProductsSpendInsightsBySourceT>(value);
86 }
87 template <typename AwsProductsSpendInsightsBySourceT = AwsProductsSpendInsightsBySource>
88 AwsOpportunityInsights& WithAwsProductsSpendInsightsBySource(AwsProductsSpendInsightsBySourceT&& value) {
89 SetAwsProductsSpendInsightsBySource(std::forward<AwsProductsSpendInsightsBySourceT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_nextBestActions;
95
97
98 AwsProductsSpendInsightsBySource m_awsProductsSpendInsightsBySource;
99 bool m_nextBestActionsHasBeenSet = false;
100 bool m_engagementScoreHasBeenSet = false;
101 bool m_awsProductsSpendInsightsBySourceHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace PartnerCentralSelling
106} // namespace Aws
AwsOpportunityInsights & WithEngagementScore(EngagementScore value)
AwsOpportunityInsights & WithAwsProductsSpendInsightsBySource(AwsProductsSpendInsightsBySourceT &&value)
AWS_PARTNERCENTRALSELLING_API AwsOpportunityInsights()=default
const AwsProductsSpendInsightsBySource & GetAwsProductsSpendInsightsBySource() const
AwsOpportunityInsights & WithNextBestActions(NextBestActionsT &&value)
AWS_PARTNERCENTRALSELLING_API AwsOpportunityInsights & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAwsProductsSpendInsightsBySource(AwsProductsSpendInsightsBySourceT &&value)
AWS_PARTNERCENTRALSELLING_API AwsOpportunityInsights(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue