AWS SDK for C++  1.9.158
AWS SDK for C++
TemplateAlias.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace QuickSight
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetAliasName() const{ return m_aliasName; }
44 
48  inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
49 
53  inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
54 
58  inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
59 
63  inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
64 
68  inline TemplateAlias& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
69 
73  inline TemplateAlias& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
74 
78  inline TemplateAlias& WithAliasName(const char* value) { SetAliasName(value); return *this;}
79 
80 
84  inline const Aws::String& GetArn() const{ return m_arn; }
85 
89  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
90 
94  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
95 
99  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
100 
104  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
105 
109  inline TemplateAlias& WithArn(const Aws::String& value) { SetArn(value); return *this;}
110 
114  inline TemplateAlias& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
115 
119  inline TemplateAlias& WithArn(const char* value) { SetArn(value); return *this;}
120 
121 
125  inline long long GetTemplateVersionNumber() const{ return m_templateVersionNumber; }
126 
130  inline bool TemplateVersionNumberHasBeenSet() const { return m_templateVersionNumberHasBeenSet; }
131 
135  inline void SetTemplateVersionNumber(long long value) { m_templateVersionNumberHasBeenSet = true; m_templateVersionNumber = value; }
136 
140  inline TemplateAlias& WithTemplateVersionNumber(long long value) { SetTemplateVersionNumber(value); return *this;}
141 
142  private:
143 
144  Aws::String m_aliasName;
145  bool m_aliasNameHasBeenSet;
146 
147  Aws::String m_arn;
148  bool m_arnHasBeenSet;
149 
150  long long m_templateVersionNumber;
151  bool m_templateVersionNumberHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace QuickSight
156 } // namespace Aws
Aws::QuickSight::Model::TemplateAlias::AliasNameHasBeenSet
bool AliasNameHasBeenSet() const
Definition: TemplateAlias.h:48
QuickSight_EXPORTS.h
Aws::QuickSight::Model::TemplateAlias::TemplateAlias
TemplateAlias()
Aws::QuickSight::Model::TemplateAlias::WithArn
TemplateAlias & WithArn(Aws::String &&value)
Definition: TemplateAlias.h:114
Aws::QuickSight::Model::TemplateAlias::SetAliasName
void SetAliasName(Aws::String &&value)
Definition: TemplateAlias.h:58
Aws::QuickSight::Model::TemplateAlias::SetAliasName
void SetAliasName(const Aws::String &value)
Definition: TemplateAlias.h:53
Aws::QuickSight::Model::TemplateAlias::GetTemplateVersionNumber
long long GetTemplateVersionNumber() const
Definition: TemplateAlias.h:125
Aws::QuickSight::Model::TemplateAlias::SetAliasName
void SetAliasName(const char *value)
Definition: TemplateAlias.h:63
Aws::QuickSight::Model::TemplateAlias::WithArn
TemplateAlias & WithArn(const Aws::String &value)
Definition: TemplateAlias.h:109
Aws::QuickSight::Model::TemplateAlias::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::TemplateAlias::SetArn
void SetArn(Aws::String &&value)
Definition: TemplateAlias.h:99
Aws::QuickSight::Model::TemplateAlias
Definition: TemplateAlias.h:32
Aws::QuickSight::Model::TemplateAlias::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: TemplateAlias.h:89
Aws::QuickSight::Model::TemplateAlias::SetArn
void SetArn(const Aws::String &value)
Definition: TemplateAlias.h:94
Aws::QuickSight::Model::TemplateAlias::TemplateVersionNumberHasBeenSet
bool TemplateVersionNumberHasBeenSet() const
Definition: TemplateAlias.h:130
Aws::QuickSight::Model::TemplateAlias::GetAliasName
const Aws::String & GetAliasName() const
Definition: TemplateAlias.h:43
Aws::QuickSight::Model::TemplateAlias::WithArn
TemplateAlias & WithArn(const char *value)
Definition: TemplateAlias.h:119
Aws::QuickSight::Model::TemplateAlias::SetTemplateVersionNumber
void SetTemplateVersionNumber(long long value)
Definition: TemplateAlias.h:135
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::TemplateAlias::TemplateAlias
TemplateAlias(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TemplateAlias::operator=
TemplateAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TemplateAlias::GetArn
const Aws::String & GetArn() const
Definition: TemplateAlias.h:84
Aws::QuickSight::Model::TemplateAlias::WithAliasName
TemplateAlias & WithAliasName(const Aws::String &value)
Definition: TemplateAlias.h:68
Aws::QuickSight::Model::TemplateAlias::WithAliasName
TemplateAlias & WithAliasName(Aws::String &&value)
Definition: TemplateAlias.h:73
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::QuickSight::Model::TemplateAlias::WithTemplateVersionNumber
TemplateAlias & WithTemplateVersionNumber(long long value)
Definition: TemplateAlias.h:140
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::TemplateAlias::WithAliasName
TemplateAlias & WithAliasName(const char *value)
Definition: TemplateAlias.h:78
Aws::QuickSight::Model::TemplateAlias::SetArn
void SetArn(const char *value)
Definition: TemplateAlias.h:104