AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 ApplicationConfigType GetType() const { return m_type; }
56 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 inline void SetType(ApplicationConfigType value) { m_typeHasBeenSet = true; m_type = value; }
58 inline ApplicationConfig& WithType(ApplicationConfigType value) { SetType(value); return *this;}
60
62
67 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
68 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
69 template<typename DestinationNameT = Aws::String>
70 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
71 template<typename DestinationNameT = Aws::String>
72 ApplicationConfig& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
74 private:
75
76 int m_fPort{0};
77 bool m_fPortHasBeenSet = false;
78
80 bool m_typeHasBeenSet = false;
81
82 Aws::String m_destinationName;
83 bool m_destinationNameHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace IoTWireless
88} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDestinationName() const
ApplicationConfig & WithType(ApplicationConfigType value)
ApplicationConfig & WithFPort(int value)
AWS_IOTWIRELESS_API ApplicationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetType(ApplicationConfigType value)
void SetDestinationName(DestinationNameT &&value)
AWS_IOTWIRELESS_API ApplicationConfig()=default
AWS_IOTWIRELESS_API ApplicationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationConfig & WithDestinationName(DestinationNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue