AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMeasureFieldId(const Aws::String& value) { m_measureFieldIdHasBeenSet = true; m_measureFieldId = value; }
50 inline void SetMeasureFieldId(Aws::String&& value) { m_measureFieldIdHasBeenSet = true; m_measureFieldId = std::move(value); }
51 inline void SetMeasureFieldId(const char* value) { m_measureFieldIdHasBeenSet = true; m_measureFieldId.assign(value); }
52 inline ContributionAnalysisDefault& WithMeasureFieldId(const Aws::String& value) { SetMeasureFieldId(value); return *this;}
53 inline ContributionAnalysisDefault& WithMeasureFieldId(Aws::String&& value) { SetMeasureFieldId(std::move(value)); return *this;}
54 inline ContributionAnalysisDefault& WithMeasureFieldId(const char* value) { SetMeasureFieldId(value); return *this;}
56
58
62 inline const Aws::Vector<ColumnIdentifier>& GetContributorDimensions() const{ return m_contributorDimensions; }
63 inline bool ContributorDimensionsHasBeenSet() const { return m_contributorDimensionsHasBeenSet; }
64 inline void SetContributorDimensions(const Aws::Vector<ColumnIdentifier>& value) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions = value; }
65 inline void SetContributorDimensions(Aws::Vector<ColumnIdentifier>&& value) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions = std::move(value); }
68 inline ContributionAnalysisDefault& AddContributorDimensions(const ColumnIdentifier& value) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions.push_back(value); return *this; }
69 inline ContributionAnalysisDefault& AddContributorDimensions(ColumnIdentifier&& value) { m_contributorDimensionsHasBeenSet = true; m_contributorDimensions.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_measureFieldId;
74 bool m_measureFieldIdHasBeenSet = false;
75
76 Aws::Vector<ColumnIdentifier> m_contributorDimensions;
77 bool m_contributorDimensionsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
ContributionAnalysisDefault & AddContributorDimensions(const ColumnIdentifier &value)
void SetContributorDimensions(Aws::Vector< ColumnIdentifier > &&value)
ContributionAnalysisDefault & WithContributorDimensions(Aws::Vector< ColumnIdentifier > &&value)
void SetContributorDimensions(const Aws::Vector< ColumnIdentifier > &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 & WithContributorDimensions(const Aws::Vector< ColumnIdentifier > &value)
ContributionAnalysisDefault & WithMeasureFieldId(Aws::String &&value)
const Aws::Vector< ColumnIdentifier > & GetContributorDimensions() const
ContributionAnalysisDefault & WithMeasureFieldId(const Aws::String &value)
ContributionAnalysisDefault & AddContributorDimensions(ColumnIdentifier &&value)
ContributionAnalysisDefault & WithMeasureFieldId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue