AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteNamespaceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "DeleteNamespace"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
40 
45  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
46 
51  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
52 
57  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
58 
63  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
64 
69  inline DeleteNamespaceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline DeleteNamespaceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline DeleteNamespaceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
82 
83 
87  inline const Aws::String& GetNamespace() const{ return m_namespace; }
88 
92  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
93 
97  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
98 
102  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
103 
107  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
108 
112  inline DeleteNamespaceRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
113 
117  inline DeleteNamespaceRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
118 
122  inline DeleteNamespaceRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
123 
124  private:
125 
126  Aws::String m_awsAccountId;
127  bool m_awsAccountIdHasBeenSet;
128 
129  Aws::String m_namespace;
130  bool m_namespaceHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace QuickSight
135 } // namespace Aws
Aws::QuickSight::Model::DeleteNamespaceRequest
Definition: DeleteNamespaceRequest.h:22
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DeleteNamespaceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DeleteNamespaceRequest::WithNamespace
DeleteNamespaceRequest & WithNamespace(const Aws::String &value)
Definition: DeleteNamespaceRequest.h:112
Aws::QuickSight::Model::DeleteNamespaceRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: DeleteNamespaceRequest.h:97
Aws::QuickSight::Model::DeleteNamespaceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteNamespaceRequest.h:30
Aws::QuickSight::Model::DeleteNamespaceRequest::SetNamespace
void SetNamespace(const char *value)
Definition: DeleteNamespaceRequest.h:107
Aws::QuickSight::Model::DeleteNamespaceRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DeleteNamespaceRequest.h:45
Aws::QuickSight::Model::DeleteNamespaceRequest::WithAwsAccountId
DeleteNamespaceRequest & WithAwsAccountId(const Aws::String &value)
Definition: DeleteNamespaceRequest.h:69
Aws::QuickSight::Model::DeleteNamespaceRequest::WithNamespace
DeleteNamespaceRequest & WithNamespace(Aws::String &&value)
Definition: DeleteNamespaceRequest.h:117
Aws::QuickSight::Model::DeleteNamespaceRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: DeleteNamespaceRequest.h:92
QuickSightRequest.h
Aws::QuickSight::Model::DeleteNamespaceRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: DeleteNamespaceRequest.h:87
AWSString.h
Aws::QuickSight::Model::DeleteNamespaceRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DeleteNamespaceRequest.h:51
Aws::QuickSight::Model::DeleteNamespaceRequest::WithNamespace
DeleteNamespaceRequest & WithNamespace(const char *value)
Definition: DeleteNamespaceRequest.h:122
Aws::QuickSight::Model::DeleteNamespaceRequest::DeleteNamespaceRequest
DeleteNamespaceRequest()
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DeleteNamespaceRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DeleteNamespaceRequest.h:63
Aws::QuickSight::Model::DeleteNamespaceRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DeleteNamespaceRequest.h:39
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DeleteNamespaceRequest::WithAwsAccountId
DeleteNamespaceRequest & WithAwsAccountId(const char *value)
Definition: DeleteNamespaceRequest.h:81
Aws::QuickSight::Model::DeleteNamespaceRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DeleteNamespaceRequest.h:57
Aws::QuickSight::Model::DeleteNamespaceRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: DeleteNamespaceRequest.h:102
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DeleteNamespaceRequest::WithAwsAccountId
DeleteNamespaceRequest & WithAwsAccountId(Aws::String &&value)
Definition: DeleteNamespaceRequest.h:75