AWS SDK for C++  1.9.44
AWS SDK for C++
DescribeNamespaceRequest.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 "DescribeNamespace"; }
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 DescribeNamespaceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
70 
75  inline DescribeNamespaceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
76 
81  inline DescribeNamespaceRequest& 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 DescribeNamespaceRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
113 
117  inline DescribeNamespaceRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
118 
122  inline DescribeNamespaceRequest& 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
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeNamespaceRequest::WithNamespace
DescribeNamespaceRequest & WithNamespace(Aws::String &&value)
Definition: DescribeNamespaceRequest.h:117
Aws::QuickSight::Model::DescribeNamespaceRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: DescribeNamespaceRequest.h:39
Aws::QuickSight::Model::DescribeNamespaceRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: DescribeNamespaceRequest.h:87
Aws::QuickSight::Model::DescribeNamespaceRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: DescribeNamespaceRequest.h:102
Aws::QuickSight::Model::DescribeNamespaceRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: DescribeNamespaceRequest.h:57
Aws::QuickSight::Model::DescribeNamespaceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::DescribeNamespaceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeNamespaceRequest.h:30
Aws::QuickSight::Model::DescribeNamespaceRequest
Definition: DescribeNamespaceRequest.h:22
QuickSightRequest.h
Aws::QuickSight::Model::DescribeNamespaceRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: DescribeNamespaceRequest.h:51
Aws::QuickSight::Model::DescribeNamespaceRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: DescribeNamespaceRequest.h:97
Aws::QuickSight::Model::DescribeNamespaceRequest::WithAwsAccountId
DescribeNamespaceRequest & WithAwsAccountId(Aws::String &&value)
Definition: DescribeNamespaceRequest.h:75
Aws::QuickSight::Model::DescribeNamespaceRequest::WithNamespace
DescribeNamespaceRequest & WithNamespace(const char *value)
Definition: DescribeNamespaceRequest.h:122
AWSString.h
Aws::QuickSight::Model::DescribeNamespaceRequest::WithAwsAccountId
DescribeNamespaceRequest & WithAwsAccountId(const Aws::String &value)
Definition: DescribeNamespaceRequest.h:69
Aws::QuickSight::Model::DescribeNamespaceRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: DescribeNamespaceRequest.h:45
Aws::QuickSight::Model::DescribeNamespaceRequest::DescribeNamespaceRequest
DescribeNamespaceRequest()
Aws::QuickSight::Model::DescribeNamespaceRequest::WithNamespace
DescribeNamespaceRequest & WithNamespace(const Aws::String &value)
Definition: DescribeNamespaceRequest.h:112
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DescribeNamespaceRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: DescribeNamespaceRequest.h:63
Aws::QuickSight::Model::DescribeNamespaceRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: DescribeNamespaceRequest.h:92
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeNamespaceRequest::SetNamespace
void SetNamespace(const char *value)
Definition: DescribeNamespaceRequest.h:107
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::DescribeNamespaceRequest::WithAwsAccountId
DescribeNamespaceRequest & WithAwsAccountId(const char *value)
Definition: DescribeNamespaceRequest.h:81