AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 CreateNamespaceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
49 inline CreateNamespaceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
50 inline CreateNamespaceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
52
54
57 inline const Aws::String& GetNamespace() const{ return m_namespace; }
58 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
59 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
60 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
61 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
62 inline CreateNamespaceRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
63 inline CreateNamespaceRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
64 inline CreateNamespaceRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
66
68
72 inline const IdentityStore& GetIdentityStore() const{ return m_identityStore; }
73 inline bool IdentityStoreHasBeenSet() const { return m_identityStoreHasBeenSet; }
74 inline void SetIdentityStore(const IdentityStore& value) { m_identityStoreHasBeenSet = true; m_identityStore = value; }
75 inline void SetIdentityStore(IdentityStore&& value) { m_identityStoreHasBeenSet = true; m_identityStore = std::move(value); }
76 inline CreateNamespaceRequest& WithIdentityStore(const IdentityStore& value) { SetIdentityStore(value); return *this;}
77 inline CreateNamespaceRequest& WithIdentityStore(IdentityStore&& value) { SetIdentityStore(std::move(value)); return *this;}
79
81
85 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
88 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
89 inline CreateNamespaceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
90 inline CreateNamespaceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
91 inline CreateNamespaceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
92 inline CreateNamespaceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
94 private:
95
96 Aws::String m_awsAccountId;
97 bool m_awsAccountIdHasBeenSet = false;
98
99 Aws::String m_namespace;
100 bool m_namespaceHasBeenSet = false;
101
102 IdentityStore m_identityStore;
103 bool m_identityStoreHasBeenSet = false;
104
105 Aws::Vector<Tag> m_tags;
106 bool m_tagsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
CreateNamespaceRequest & WithTags(Aws::Vector< Tag > &&value)
CreateNamespaceRequest & WithTags(const Aws::Vector< Tag > &value)
CreateNamespaceRequest & WithIdentityStore(const IdentityStore &value)
CreateNamespaceRequest & WithNamespace(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateNamespaceRequest & WithNamespace(const char *value)
CreateNamespaceRequest & AddTags(const Tag &value)
CreateNamespaceRequest & WithAwsAccountId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateNamespaceRequest & AddTags(Tag &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateNamespaceRequest & WithAwsAccountId(const Aws::String &value)
CreateNamespaceRequest & WithIdentityStore(IdentityStore &&value)
CreateNamespaceRequest & WithAwsAccountId(const char *value)
CreateNamespaceRequest & WithNamespace(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector