AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationConfig.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/ApplicationConfigType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTWireless
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTWIRELESS_API ApplicationConfig();
37 AWS_IOTWIRELESS_API ApplicationConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline int GetFPort() const{ return m_fPort; }
45 inline bool FPortHasBeenSet() const { return m_fPortHasBeenSet; }
46 inline void SetFPort(int value) { m_fPortHasBeenSet = true; m_fPort = value; }
47 inline ApplicationConfig& WithFPort(int value) { SetFPort(value); return *this;}
49
51
55 inline const ApplicationConfigType& GetType() const{ return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(const ApplicationConfigType& value) { m_typeHasBeenSet = true; m_type = value; }
58 inline void SetType(ApplicationConfigType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 inline ApplicationConfig& WithType(const ApplicationConfigType& value) { SetType(value); return *this;}
60 inline ApplicationConfig& WithType(ApplicationConfigType&& value) { SetType(std::move(value)); return *this;}
62
64
69 inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
70 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
71 inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
72 inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
73 inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
74 inline ApplicationConfig& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
75 inline ApplicationConfig& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
76 inline ApplicationConfig& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
78 private:
79
80 int m_fPort;
81 bool m_fPortHasBeenSet = false;
82
84 bool m_typeHasBeenSet = false;
85
86 Aws::String m_destinationName;
87 bool m_destinationNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTWireless
92} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDestinationName() const
ApplicationConfig & WithDestinationName(const Aws::String &value)
ApplicationConfig & WithFPort(int value)
AWS_IOTWIRELESS_API ApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
ApplicationConfig & WithDestinationName(Aws::String &&value)
ApplicationConfig & WithType(const ApplicationConfigType &value)
ApplicationConfig & WithDestinationName(const char *value)
ApplicationConfig & WithType(ApplicationConfigType &&value)
void SetType(const ApplicationConfigType &value)
const ApplicationConfigType & GetType() const
void SetType(ApplicationConfigType &&value)
AWS_IOTWIRELESS_API ApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue