AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ContributionAnalysisDefault.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/ColumnIdentifier.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API ContributionAnalysisDefault() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetMeasureFieldId() const { return m_measureFieldId; }
42 inline bool MeasureFieldIdHasBeenSet() const { return m_measureFieldIdHasBeenSet; }
43 template <typename MeasureFieldIdT = Aws::String>
44 void SetMeasureFieldId(MeasureFieldIdT&& value) {
45 m_measureFieldIdHasBeenSet = true;
46 m_measureFieldId = std::forward<MeasureFieldIdT>(value);
47 }
48 template <typename MeasureFieldIdT = Aws::String>
50 SetMeasureFieldId(std::forward<MeasureFieldIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<ColumnIdentifier>& GetContributorDimensions() const { return m_contributorDimensions; }
61 inline bool ContributorDimensionsHasBeenSet() const { return m_contributorDimensionsHasBeenSet; }
62 template <typename ContributorDimensionsT = Aws::Vector<ColumnIdentifier>>
63 void SetContributorDimensions(ContributorDimensionsT&& value) {
64 m_contributorDimensionsHasBeenSet = true;
65 m_contributorDimensions = std::forward<ContributorDimensionsT>(value);
66 }
67 template <typename ContributorDimensionsT = Aws::Vector<ColumnIdentifier>>
68 ContributionAnalysisDefault& WithContributorDimensions(ContributorDimensionsT&& value) {
69 SetContributorDimensions(std::forward<ContributorDimensionsT>(value));
70 return *this;
71 }
72 template <typename ContributorDimensionsT = ColumnIdentifier>
73 ContributionAnalysisDefault& AddContributorDimensions(ContributorDimensionsT&& value) {
74 m_contributorDimensionsHasBeenSet = true;
75 m_contributorDimensions.emplace_back(std::forward<ContributorDimensionsT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_measureFieldId;
81
82 Aws::Vector<ColumnIdentifier> m_contributorDimensions;
83 bool m_measureFieldIdHasBeenSet = false;
84 bool m_contributorDimensionsHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
ContributionAnalysisDefault & AddContributorDimensions(ContributorDimensionsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ContributionAnalysisDefault & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ContributionAnalysisDefault(Aws::Utils::Json::JsonView jsonValue)
ContributionAnalysisDefault & WithMeasureFieldId(MeasureFieldIdT &&value)
ContributionAnalysisDefault & WithContributorDimensions(ContributorDimensionsT &&value)
const Aws::Vector< ColumnIdentifier > & GetContributorDimensions() const
AWS_QUICKSIGHT_API ContributionAnalysisDefault()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue