AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTemplateAliasRequest.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 <utility>
11
12namespace Aws
13{
14namespace QuickSight
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_QUICKSIGHT_API CreateTemplateAliasRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateTemplateAlias"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
41 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
42 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
43 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
44 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
45 inline CreateTemplateAliasRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
46 inline CreateTemplateAliasRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
47 inline CreateTemplateAliasRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
49
51
54 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
55 inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
56 inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
57 inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
58 inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
59 inline CreateTemplateAliasRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
60 inline CreateTemplateAliasRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
61 inline CreateTemplateAliasRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
63
65
70 inline const Aws::String& GetAliasName() const{ return m_aliasName; }
71 inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
72 inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; }
73 inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); }
74 inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); }
75 inline CreateTemplateAliasRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;}
76 inline CreateTemplateAliasRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;}
77 inline CreateTemplateAliasRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;}
79
81
84 inline long long GetTemplateVersionNumber() const{ return m_templateVersionNumber; }
85 inline bool TemplateVersionNumberHasBeenSet() const { return m_templateVersionNumberHasBeenSet; }
86 inline void SetTemplateVersionNumber(long long value) { m_templateVersionNumberHasBeenSet = true; m_templateVersionNumber = value; }
87 inline CreateTemplateAliasRequest& WithTemplateVersionNumber(long long value) { SetTemplateVersionNumber(value); return *this;}
89 private:
90
91 Aws::String m_awsAccountId;
92 bool m_awsAccountIdHasBeenSet = false;
93
94 Aws::String m_templateId;
95 bool m_templateIdHasBeenSet = false;
96
97 Aws::String m_aliasName;
98 bool m_aliasNameHasBeenSet = false;
99
100 long long m_templateVersionNumber;
101 bool m_templateVersionNumberHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace QuickSight
106} // namespace Aws
CreateTemplateAliasRequest & WithAwsAccountId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateTemplateAliasRequest & WithTemplateId(const char *value)
CreateTemplateAliasRequest & WithAliasName(Aws::String &&value)
CreateTemplateAliasRequest & WithTemplateVersionNumber(long long value)
CreateTemplateAliasRequest & WithAwsAccountId(const Aws::String &value)
CreateTemplateAliasRequest & WithAliasName(const Aws::String &value)
CreateTemplateAliasRequest & WithTemplateId(Aws::String &&value)
CreateTemplateAliasRequest & WithAliasName(const char *value)
CreateTemplateAliasRequest & WithTemplateId(const Aws::String &value)
CreateTemplateAliasRequest & WithAwsAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String