AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
App.h
1
6#pragma once
7#include <aws/fms/FMS_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 FMS
22{
23namespace Model
24{
25
31 class App
32 {
33 public:
34 AWS_FMS_API App();
35 AWS_FMS_API App(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FMS_API App& operator=(Aws::Utils::Json::JsonView jsonValue);
38
39
41
44 inline const Aws::String& GetAppName() const{ return m_appName; }
45 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
46 inline void SetAppName(const Aws::String& value) { m_appNameHasBeenSet = true; m_appName = value; }
47 inline void SetAppName(Aws::String&& value) { m_appNameHasBeenSet = true; m_appName = std::move(value); }
48 inline void SetAppName(const char* value) { m_appNameHasBeenSet = true; m_appName.assign(value); }
49 inline App& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
50 inline App& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
51 inline App& WithAppName(const char* value) { SetAppName(value); return *this;}
53
55
62 inline const Aws::String& GetProtocol() const{ return m_protocol; }
63 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
64 inline void SetProtocol(const Aws::String& value) { m_protocolHasBeenSet = true; m_protocol = value; }
65 inline void SetProtocol(Aws::String&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
66 inline void SetProtocol(const char* value) { m_protocolHasBeenSet = true; m_protocol.assign(value); }
67 inline App& WithProtocol(const Aws::String& value) { SetProtocol(value); return *this;}
68 inline App& WithProtocol(Aws::String&& value) { SetProtocol(std::move(value)); return *this;}
69 inline App& WithProtocol(const char* value) { SetProtocol(value); return *this;}
71
73
76 inline long long GetPort() const{ return m_port; }
77 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
78 inline void SetPort(long long value) { m_portHasBeenSet = true; m_port = value; }
79 inline App& WithPort(long long value) { SetPort(value); return *this;}
81 private:
82
83 Aws::String m_appName;
84 bool m_appNameHasBeenSet = false;
85
86 Aws::String m_protocol;
87 bool m_protocolHasBeenSet = false;
88
89 long long m_port;
90 bool m_portHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace FMS
95} // namespace Aws
AWS_FMS_API App(Aws::Utils::Json::JsonView jsonValue)
bool PortHasBeenSet() const
Definition App.h:77
App & WithProtocol(const Aws::String &value)
Definition App.h:67
void SetProtocol(Aws::String &&value)
Definition App.h:65
AWS_FMS_API App()
App & WithProtocol(Aws::String &&value)
Definition App.h:68
App & WithPort(long long value)
Definition App.h:79
void SetAppName(Aws::String &&value)
Definition App.h:47
App & WithAppName(Aws::String &&value)
Definition App.h:50
void SetProtocol(const char *value)
Definition App.h:66
void SetPort(long long value)
Definition App.h:78
bool ProtocolHasBeenSet() const
Definition App.h:63
bool AppNameHasBeenSet() const
Definition App.h:45
AWS_FMS_API App & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAppName() const
Definition App.h:44
void SetAppName(const char *value)
Definition App.h:48
App & WithAppName(const char *value)
Definition App.h:51
App & WithAppName(const Aws::String &value)
Definition App.h:49
void SetAppName(const Aws::String &value)
Definition App.h:46
void SetProtocol(const Aws::String &value)
Definition App.h:64
const Aws::String & GetProtocol() const
Definition App.h:62
App & WithProtocol(const char *value)
Definition App.h:69
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetPort() const
Definition App.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue