AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TemplateAlias.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QUICKSIGHT_API TemplateAlias() = default;
35 AWS_QUICKSIGHT_API TemplateAlias(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API TemplateAlias& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAliasName() const { return m_aliasName; }
45 inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
46 template<typename AliasNameT = Aws::String>
47 void SetAliasName(AliasNameT&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::forward<AliasNameT>(value); }
48 template<typename AliasNameT = Aws::String>
49 TemplateAlias& WithAliasName(AliasNameT&& value) { SetAliasName(std::forward<AliasNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetArn() const { return m_arn; }
57 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
58 template<typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
60 template<typename ArnT = Aws::String>
61 TemplateAlias& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
63
65
68 inline long long GetTemplateVersionNumber() const { return m_templateVersionNumber; }
69 inline bool TemplateVersionNumberHasBeenSet() const { return m_templateVersionNumberHasBeenSet; }
70 inline void SetTemplateVersionNumber(long long value) { m_templateVersionNumberHasBeenSet = true; m_templateVersionNumber = value; }
71 inline TemplateAlias& WithTemplateVersionNumber(long long value) { SetTemplateVersionNumber(value); return *this;}
73 private:
74
75 Aws::String m_aliasName;
76 bool m_aliasNameHasBeenSet = false;
77
78 Aws::String m_arn;
79 bool m_arnHasBeenSet = false;
80
81 long long m_templateVersionNumber{0};
82 bool m_templateVersionNumberHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace QuickSight
87} // namespace Aws
void SetAliasName(AliasNameT &&value)
const Aws::String & GetArn() const
const Aws::String & GetAliasName() const
void SetTemplateVersionNumber(long long value)
AWS_QUICKSIGHT_API TemplateAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateAlias & WithArn(ArnT &&value)
TemplateAlias & WithTemplateVersionNumber(long long value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TemplateAlias & WithAliasName(AliasNameT &&value)
AWS_QUICKSIGHT_API TemplateAlias()=default
AWS_QUICKSIGHT_API TemplateAlias(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue