AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomDNSServer.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace finspace
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FINSPACE_API CustomDNSServer();
36 AWS_FINSPACE_API CustomDNSServer(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCustomDNSServerName() const{ return m_customDNSServerName; }
46 inline bool CustomDNSServerNameHasBeenSet() const { return m_customDNSServerNameHasBeenSet; }
47 inline void SetCustomDNSServerName(const Aws::String& value) { m_customDNSServerNameHasBeenSet = true; m_customDNSServerName = value; }
48 inline void SetCustomDNSServerName(Aws::String&& value) { m_customDNSServerNameHasBeenSet = true; m_customDNSServerName = std::move(value); }
49 inline void SetCustomDNSServerName(const char* value) { m_customDNSServerNameHasBeenSet = true; m_customDNSServerName.assign(value); }
50 inline CustomDNSServer& WithCustomDNSServerName(const Aws::String& value) { SetCustomDNSServerName(value); return *this;}
51 inline CustomDNSServer& WithCustomDNSServerName(Aws::String&& value) { SetCustomDNSServerName(std::move(value)); return *this;}
52 inline CustomDNSServer& WithCustomDNSServerName(const char* value) { SetCustomDNSServerName(value); return *this;}
54
56
59 inline const Aws::String& GetCustomDNSServerIP() const{ return m_customDNSServerIP; }
60 inline bool CustomDNSServerIPHasBeenSet() const { return m_customDNSServerIPHasBeenSet; }
61 inline void SetCustomDNSServerIP(const Aws::String& value) { m_customDNSServerIPHasBeenSet = true; m_customDNSServerIP = value; }
62 inline void SetCustomDNSServerIP(Aws::String&& value) { m_customDNSServerIPHasBeenSet = true; m_customDNSServerIP = std::move(value); }
63 inline void SetCustomDNSServerIP(const char* value) { m_customDNSServerIPHasBeenSet = true; m_customDNSServerIP.assign(value); }
64 inline CustomDNSServer& WithCustomDNSServerIP(const Aws::String& value) { SetCustomDNSServerIP(value); return *this;}
65 inline CustomDNSServer& WithCustomDNSServerIP(Aws::String&& value) { SetCustomDNSServerIP(std::move(value)); return *this;}
66 inline CustomDNSServer& WithCustomDNSServerIP(const char* value) { SetCustomDNSServerIP(value); return *this;}
68 private:
69
70 Aws::String m_customDNSServerName;
71 bool m_customDNSServerNameHasBeenSet = false;
72
73 Aws::String m_customDNSServerIP;
74 bool m_customDNSServerIPHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace finspace
79} // namespace Aws
AWS_FINSPACE_API CustomDNSServer(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomDNSServerIP() const
void SetCustomDNSServerName(const char *value)
CustomDNSServer & WithCustomDNSServerName(Aws::String &&value)
void SetCustomDNSServerIP(const Aws::String &value)
CustomDNSServer & WithCustomDNSServerIP(const Aws::String &value)
CustomDNSServer & WithCustomDNSServerIP(const char *value)
CustomDNSServer & WithCustomDNSServerName(const Aws::String &value)
const Aws::String & GetCustomDNSServerName() const
CustomDNSServer & WithCustomDNSServerName(const char *value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomDNSServerIP(const char *value)
void SetCustomDNSServerIP(Aws::String &&value)
void SetCustomDNSServerName(Aws::String &&value)
CustomDNSServer & WithCustomDNSServerIP(Aws::String &&value)
void SetCustomDNSServerName(const Aws::String &value)
AWS_FINSPACE_API CustomDNSServer & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue