AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
SparkParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
28 public:
29 AWS_QUICKSIGHT_API SparkParameters() = default;
30 AWS_QUICKSIGHT_API SparkParameters(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetHost() const { return m_host; }
39 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
40 template <typename HostT = Aws::String>
41 void SetHost(HostT&& value) {
42 m_hostHasBeenSet = true;
43 m_host = std::forward<HostT>(value);
44 }
45 template <typename HostT = Aws::String>
46 SparkParameters& WithHost(HostT&& value) {
47 SetHost(std::forward<HostT>(value));
48 return *this;
49 }
51
53
56 inline int GetPort() const { return m_port; }
57 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
58 inline void SetPort(int value) {
59 m_portHasBeenSet = true;
60 m_port = value;
61 }
62 inline SparkParameters& WithPort(int value) {
63 SetPort(value);
64 return *this;
65 }
67 private:
68 Aws::String m_host;
69
70 int m_port{0};
71 bool m_hostHasBeenSet = false;
72 bool m_portHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace QuickSight
77} // namespace Aws
AWS_QUICKSIGHT_API SparkParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
SparkParameters & WithHost(HostT &&value)
SparkParameters & WithPort(int value)
AWS_QUICKSIGHT_API SparkParameters()=default
const Aws::String & GetHost() const
AWS_QUICKSIGHT_API SparkParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue