AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ContributionAnalysisDefault.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ColumnIdentifier.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API ContributionAnalysisDefault() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetMeasureFieldId() const { return m_measureFieldId; }
48 inline bool MeasureFieldIdHasBeenSet() const { return m_measureFieldIdHasBeenSet; }
49 template<typename MeasureFieldIdT = Aws::String>
50 void SetMeasureFieldId(MeasureFieldIdT&& value) { m_measureFieldIdHasBeenSet = true; m_measureFieldId = std::forward<MeasureFieldIdT>(value); }
51 template<typename MeasureFieldIdT = Aws::String>
52 ContributionAnalysisDefault& WithMeasureFieldId(MeasureFieldIdT&& value) { SetMeasureFieldId(std::forward<MeasureFieldIdT>(value)); return *this;}
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) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions = std::forward<ContributorDimensionsT>(value); }
64 template<typename ContributorDimensionsT = Aws::Vector<ColumnIdentifier>>
65 ContributionAnalysisDefault& WithContributorDimensions(ContributorDimensionsT&& value) { SetContributorDimensions(std::forward<ContributorDimensionsT>(value)); return *this;}
66 template<typename ContributorDimensionsT = ColumnIdentifier>
67 ContributionAnalysisDefault& AddContributorDimensions(ContributorDimensionsT&& value) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions.emplace_back(std::forward<ContributorDimensionsT>(value)); return *this; }
69 private:
70
71 Aws::String m_measureFieldId;
72 bool m_measureFieldIdHasBeenSet = false;
73
74 Aws::Vector<ColumnIdentifier> m_contributorDimensions;
75 bool m_contributorDimensionsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QuickSight
80} // 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