AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateNamespaceRequest.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/IdentityStore.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace QuickSight
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QUICKSIGHT_API CreateNamespaceRequest() = default;
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 "CreateNamespace"; }
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 template<typename AwsAccountIdT = Aws::String>
46 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
47 template<typename AwsAccountIdT = Aws::String>
48 CreateNamespaceRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetNamespace() const { return m_namespace; }
56 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
57 template<typename NamespaceT = Aws::String>
58 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
59 template<typename NamespaceT = Aws::String>
60 CreateNamespaceRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
62
64
68 inline IdentityStore GetIdentityStore() const { return m_identityStore; }
69 inline bool IdentityStoreHasBeenSet() const { return m_identityStoreHasBeenSet; }
70 inline void SetIdentityStore(IdentityStore value) { m_identityStoreHasBeenSet = true; m_identityStore = value; }
73
75
79 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
80 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
81 template<typename TagsT = Aws::Vector<Tag>>
82 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
83 template<typename TagsT = Aws::Vector<Tag>>
84 CreateNamespaceRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
85 template<typename TagsT = Tag>
86 CreateNamespaceRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
88 private:
89
90 Aws::String m_awsAccountId;
91 bool m_awsAccountIdHasBeenSet = false;
92
93 Aws::String m_namespace;
94 bool m_namespaceHasBeenSet = false;
95
97 bool m_identityStoreHasBeenSet = false;
98
99 Aws::Vector<Tag> m_tags;
100 bool m_tagsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace QuickSight
105} // namespace Aws
CreateNamespaceRequest & WithAwsAccountId(AwsAccountIdT &&value)
CreateNamespaceRequest & WithTags(TagsT &&value)
AWS_QUICKSIGHT_API CreateNamespaceRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateNamespaceRequest & WithIdentityStore(IdentityStore value)
CreateNamespaceRequest & WithNamespace(NamespaceT &&value)
CreateNamespaceRequest & AddTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector