AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAnalysisRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/Parameters.h>
11#include <aws/quicksight/model/AnalysisSourceEntity.h>
12#include <aws/quicksight/model/AnalysisDefinition.h>
13#include <aws/quicksight/model/ValidationStrategy.h>
14#include <utility>
15
16namespace Aws
17{
18namespace QuickSight
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QUICKSIGHT_API UpdateAnalysisRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateAnalysis"; }
35
36 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
45 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
47 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
48 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
49 inline UpdateAnalysisRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
50 inline UpdateAnalysisRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
51 inline UpdateAnalysisRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
53
55
59 inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
60 inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
61 inline void SetAnalysisId(const Aws::String& value) { m_analysisIdHasBeenSet = true; m_analysisId = value; }
62 inline void SetAnalysisId(Aws::String&& value) { m_analysisIdHasBeenSet = true; m_analysisId = std::move(value); }
63 inline void SetAnalysisId(const char* value) { m_analysisIdHasBeenSet = true; m_analysisId.assign(value); }
64 inline UpdateAnalysisRequest& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
65 inline UpdateAnalysisRequest& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
66 inline UpdateAnalysisRequest& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
68
70
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline UpdateAnalysisRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline UpdateAnalysisRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline UpdateAnalysisRequest& WithName(const char* value) { SetName(value); return *this;}
83
85
89 inline const Parameters& GetParameters() const{ return m_parameters; }
90 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
91 inline void SetParameters(const Parameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
92 inline void SetParameters(Parameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
93 inline UpdateAnalysisRequest& WithParameters(const Parameters& value) { SetParameters(value); return *this;}
94 inline UpdateAnalysisRequest& WithParameters(Parameters&& value) { SetParameters(std::move(value)); return *this;}
96
98
103 inline const AnalysisSourceEntity& GetSourceEntity() const{ return m_sourceEntity; }
104 inline bool SourceEntityHasBeenSet() const { return m_sourceEntityHasBeenSet; }
105 inline void SetSourceEntity(const AnalysisSourceEntity& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = value; }
106 inline void SetSourceEntity(AnalysisSourceEntity&& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = std::move(value); }
107 inline UpdateAnalysisRequest& WithSourceEntity(const AnalysisSourceEntity& value) { SetSourceEntity(value); return *this;}
108 inline UpdateAnalysisRequest& WithSourceEntity(AnalysisSourceEntity&& value) { SetSourceEntity(std::move(value)); return *this;}
110
112
117 inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
118 inline bool ThemeArnHasBeenSet() const { return m_themeArnHasBeenSet; }
119 inline void SetThemeArn(const Aws::String& value) { m_themeArnHasBeenSet = true; m_themeArn = value; }
120 inline void SetThemeArn(Aws::String&& value) { m_themeArnHasBeenSet = true; m_themeArn = std::move(value); }
121 inline void SetThemeArn(const char* value) { m_themeArnHasBeenSet = true; m_themeArn.assign(value); }
122 inline UpdateAnalysisRequest& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
123 inline UpdateAnalysisRequest& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
124 inline UpdateAnalysisRequest& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
126
128
132 inline const AnalysisDefinition& GetDefinition() const{ return m_definition; }
133 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
134 inline void SetDefinition(const AnalysisDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; }
135 inline void SetDefinition(AnalysisDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
136 inline UpdateAnalysisRequest& WithDefinition(const AnalysisDefinition& value) { SetDefinition(value); return *this;}
137 inline UpdateAnalysisRequest& WithDefinition(AnalysisDefinition&& value) { SetDefinition(std::move(value)); return *this;}
139
141
145 inline const ValidationStrategy& GetValidationStrategy() const{ return m_validationStrategy; }
146 inline bool ValidationStrategyHasBeenSet() const { return m_validationStrategyHasBeenSet; }
147 inline void SetValidationStrategy(const ValidationStrategy& value) { m_validationStrategyHasBeenSet = true; m_validationStrategy = value; }
148 inline void SetValidationStrategy(ValidationStrategy&& value) { m_validationStrategyHasBeenSet = true; m_validationStrategy = std::move(value); }
152 private:
153
154 Aws::String m_awsAccountId;
155 bool m_awsAccountIdHasBeenSet = false;
156
157 Aws::String m_analysisId;
158 bool m_analysisIdHasBeenSet = false;
159
160 Aws::String m_name;
161 bool m_nameHasBeenSet = false;
162
163 Parameters m_parameters;
164 bool m_parametersHasBeenSet = false;
165
166 AnalysisSourceEntity m_sourceEntity;
167 bool m_sourceEntityHasBeenSet = false;
168
169 Aws::String m_themeArn;
170 bool m_themeArnHasBeenSet = false;
171
172 AnalysisDefinition m_definition;
173 bool m_definitionHasBeenSet = false;
174
175 ValidationStrategy m_validationStrategy;
176 bool m_validationStrategyHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace QuickSight
181} // namespace Aws
const AnalysisDefinition & GetDefinition() const
UpdateAnalysisRequest & WithSourceEntity(const AnalysisSourceEntity &value)
UpdateAnalysisRequest & WithThemeArn(Aws::String &&value)
UpdateAnalysisRequest & WithName(Aws::String &&value)
UpdateAnalysisRequest & WithName(const Aws::String &value)
void SetSourceEntity(AnalysisSourceEntity &&value)
void SetValidationStrategy(const ValidationStrategy &value)
UpdateAnalysisRequest & WithThemeArn(const Aws::String &value)
const AnalysisSourceEntity & GetSourceEntity() const
virtual const char * GetServiceRequestName() const override
UpdateAnalysisRequest & WithAnalysisId(const char *value)
void SetSourceEntity(const AnalysisSourceEntity &value)
UpdateAnalysisRequest & WithAwsAccountId(Aws::String &&value)
const ValidationStrategy & GetValidationStrategy() const
UpdateAnalysisRequest & WithName(const char *value)
UpdateAnalysisRequest & WithAnalysisId(Aws::String &&value)
UpdateAnalysisRequest & WithDefinition(const AnalysisDefinition &value)
UpdateAnalysisRequest & WithParameters(Parameters &&value)
UpdateAnalysisRequest & WithAnalysisId(const Aws::String &value)
UpdateAnalysisRequest & WithValidationStrategy(ValidationStrategy &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateAnalysisRequest & WithAwsAccountId(const char *value)
UpdateAnalysisRequest & WithSourceEntity(AnalysisSourceEntity &&value)
void SetValidationStrategy(ValidationStrategy &&value)
void SetDefinition(const AnalysisDefinition &value)
UpdateAnalysisRequest & WithDefinition(AnalysisDefinition &&value)
UpdateAnalysisRequest & WithThemeArn(const char *value)
UpdateAnalysisRequest & WithParameters(const Parameters &value)
UpdateAnalysisRequest & WithValidationStrategy(const ValidationStrategy &value)
UpdateAnalysisRequest & WithAwsAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String