AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTemplateRequest.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/TemplateSourceEntity.h>
11#include <aws/quicksight/model/TemplateVersionDefinition.h>
12#include <aws/quicksight/model/ValidationStrategy.h>
13#include <utility>
14
15namespace Aws
16{
17namespace QuickSight
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QUICKSIGHT_API UpdateTemplateRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateTemplate"; }
34
35 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
44 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
45 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
46 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
47 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
48 inline UpdateTemplateRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
49 inline UpdateTemplateRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
50 inline UpdateTemplateRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
52
54
57 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
58 inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
59 inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
60 inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
61 inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
62 inline UpdateTemplateRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
63 inline UpdateTemplateRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
64 inline UpdateTemplateRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
66
68
82 inline const TemplateSourceEntity& GetSourceEntity() const{ return m_sourceEntity; }
83 inline bool SourceEntityHasBeenSet() const { return m_sourceEntityHasBeenSet; }
84 inline void SetSourceEntity(const TemplateSourceEntity& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = value; }
85 inline void SetSourceEntity(TemplateSourceEntity&& value) { m_sourceEntityHasBeenSet = true; m_sourceEntity = std::move(value); }
86 inline UpdateTemplateRequest& WithSourceEntity(const TemplateSourceEntity& value) { SetSourceEntity(value); return *this;}
87 inline UpdateTemplateRequest& WithSourceEntity(TemplateSourceEntity&& value) { SetSourceEntity(std::move(value)); return *this;}
89
91
97 inline const Aws::String& GetVersionDescription() const{ return m_versionDescription; }
98 inline bool VersionDescriptionHasBeenSet() const { return m_versionDescriptionHasBeenSet; }
99 inline void SetVersionDescription(const Aws::String& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = value; }
100 inline void SetVersionDescription(Aws::String&& value) { m_versionDescriptionHasBeenSet = true; m_versionDescription = std::move(value); }
101 inline void SetVersionDescription(const char* value) { m_versionDescriptionHasBeenSet = true; m_versionDescription.assign(value); }
103 inline UpdateTemplateRequest& WithVersionDescription(Aws::String&& value) { SetVersionDescription(std::move(value)); return *this;}
104 inline UpdateTemplateRequest& WithVersionDescription(const char* value) { SetVersionDescription(value); return *this;}
106
108
111 inline const Aws::String& GetName() const{ return m_name; }
112 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
113 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
114 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
115 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 inline UpdateTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
117 inline UpdateTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
118 inline UpdateTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
120
122
126 inline const TemplateVersionDefinition& GetDefinition() const{ return m_definition; }
127 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
128 inline void SetDefinition(const TemplateVersionDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; }
129 inline void SetDefinition(TemplateVersionDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
131 inline UpdateTemplateRequest& WithDefinition(TemplateVersionDefinition&& value) { SetDefinition(std::move(value)); return *this;}
133
135
139 inline const ValidationStrategy& GetValidationStrategy() const{ return m_validationStrategy; }
140 inline bool ValidationStrategyHasBeenSet() const { return m_validationStrategyHasBeenSet; }
141 inline void SetValidationStrategy(const ValidationStrategy& value) { m_validationStrategyHasBeenSet = true; m_validationStrategy = value; }
142 inline void SetValidationStrategy(ValidationStrategy&& value) { m_validationStrategyHasBeenSet = true; m_validationStrategy = std::move(value); }
146 private:
147
148 Aws::String m_awsAccountId;
149 bool m_awsAccountIdHasBeenSet = false;
150
151 Aws::String m_templateId;
152 bool m_templateIdHasBeenSet = false;
153
154 TemplateSourceEntity m_sourceEntity;
155 bool m_sourceEntityHasBeenSet = false;
156
157 Aws::String m_versionDescription;
158 bool m_versionDescriptionHasBeenSet = false;
159
160 Aws::String m_name;
161 bool m_nameHasBeenSet = false;
162
163 TemplateVersionDefinition m_definition;
164 bool m_definitionHasBeenSet = false;
165
166 ValidationStrategy m_validationStrategy;
167 bool m_validationStrategyHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace QuickSight
172} // namespace Aws
UpdateTemplateRequest & WithSourceEntity(TemplateSourceEntity &&value)
const TemplateVersionDefinition & GetDefinition() const
UpdateTemplateRequest & WithSourceEntity(const TemplateSourceEntity &value)
UpdateTemplateRequest & WithDefinition(const TemplateVersionDefinition &value)
UpdateTemplateRequest & WithVersionDescription(const char *value)
UpdateTemplateRequest & WithName(Aws::String &&value)
void SetSourceEntity(TemplateSourceEntity &&value)
void SetDefinition(TemplateVersionDefinition &&value)
virtual const char * GetServiceRequestName() const override
const ValidationStrategy & GetValidationStrategy() const
UpdateTemplateRequest & WithValidationStrategy(const ValidationStrategy &value)
UpdateTemplateRequest & WithDefinition(TemplateVersionDefinition &&value)
void SetValidationStrategy(const ValidationStrategy &value)
void SetSourceEntity(const TemplateSourceEntity &value)
UpdateTemplateRequest & WithVersionDescription(Aws::String &&value)
UpdateTemplateRequest & WithAwsAccountId(const char *value)
UpdateTemplateRequest & WithVersionDescription(const Aws::String &value)
UpdateTemplateRequest & WithTemplateId(const Aws::String &value)
UpdateTemplateRequest & WithValidationStrategy(ValidationStrategy &&value)
const TemplateSourceEntity & GetSourceEntity() const
UpdateTemplateRequest & WithName(const Aws::String &value)
UpdateTemplateRequest & WithTemplateId(const char *value)
UpdateTemplateRequest & WithAwsAccountId(Aws::String &&value)
UpdateTemplateRequest & WithTemplateId(Aws::String &&value)
UpdateTemplateRequest & WithName(const char *value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetValidationStrategy(ValidationStrategy &&value)
void SetVersionDescription(const Aws::String &value)
void SetDefinition(const TemplateVersionDefinition &value)
UpdateTemplateRequest & WithAwsAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String