AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
77 inline const AwsProductsSpendInsightsBySource& GetAwsProductsSpendInsightsBySource() const { return m_awsProductsSpendInsightsBySource; }
78 inline bool AwsProductsSpendInsightsBySourceHasBeenSet() const { return m_awsProductsSpendInsightsBySourceHasBeenSet; }
79 template <typename AwsProductsSpendInsightsBySourceT = AwsProductsSpendInsightsBySource>
80 void SetAwsProductsSpendInsightsBySource(AwsProductsSpendInsightsBySourceT&& value) {
81 m_awsProductsSpendInsightsBySourceHasBeenSet = true;
82 m_awsProductsSpendInsightsBySource = std::forward<AwsProductsSpendInsightsBySourceT>(value);
83 }
84 template <typename AwsProductsSpendInsightsBySourceT = AwsProductsSpendInsightsBySource>
85 AwsOpportunityInsights& WithAwsProductsSpendInsightsBySource(AwsProductsSpendInsightsBySourceT&& value) {
86 SetAwsProductsSpendInsightsBySource(std::forward<AwsProductsSpendInsightsBySourceT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_nextBestActions;
92
94
95 AwsProductsSpendInsightsBySource m_awsProductsSpendInsightsBySource;
96 bool m_nextBestActionsHasBeenSet = false;
97 bool m_engagementScoreHasBeenSet = false;
98 bool m_awsProductsSpendInsightsBySourceHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace PartnerCentralSelling
103} // 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