AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetKxConnectionStringRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace finspace
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_FINSPACE_API GetKxConnectionStringRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetKxConnectionString"; }
35
36 AWS_FINSPACE_API Aws::String SerializePayload() const override;
37
38 AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
48 inline const Aws::String& GetUserArn() const { return m_userArn; }
49 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
50 template<typename UserArnT = Aws::String>
51 void SetUserArn(UserArnT&& value) { m_userArnHasBeenSet = true; m_userArn = std::forward<UserArnT>(value); }
52 template<typename UserArnT = Aws::String>
53 GetKxConnectionStringRequest& WithUserArn(UserArnT&& value) { SetUserArn(std::forward<UserArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
61 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
62 template<typename EnvironmentIdT = Aws::String>
63 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
64 template<typename EnvironmentIdT = Aws::String>
65 GetKxConnectionStringRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetClusterName() const { return m_clusterName; }
73 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
74 template<typename ClusterNameT = Aws::String>
75 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
76 template<typename ClusterNameT = Aws::String>
77 GetKxConnectionStringRequest& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
79 private:
80
81 Aws::String m_userArn;
82 bool m_userArnHasBeenSet = false;
83
84 Aws::String m_environmentId;
85 bool m_environmentIdHasBeenSet = false;
86
87 Aws::String m_clusterName;
88 bool m_clusterNameHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace finspace
93} // namespace Aws
GetKxConnectionStringRequest & WithUserArn(UserArnT &&value)
AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_FINSPACE_API Aws::String SerializePayload() const override
GetKxConnectionStringRequest & WithEnvironmentId(EnvironmentIdT &&value)
AWS_FINSPACE_API GetKxConnectionStringRequest()=default
GetKxConnectionStringRequest & WithClusterName(ClusterNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String