AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationConfig.h
1
6#pragma once
7#include <aws/iotsecuretunneling/IoTSecureTunneling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 IoTSecureTunneling
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTSECURETUNNELING_API DestinationConfig();
36 AWS_IOTSECURETUNNELING_API DestinationConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSECURETUNNELING_API DestinationConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSECURETUNNELING_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetThingName() const{ return m_thingName; }
46 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
47 inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
48 inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
49 inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
50 inline DestinationConfig& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
51 inline DestinationConfig& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
52 inline DestinationConfig& WithThingName(const char* value) { SetThingName(value); return *this;}
54
56
62 inline const Aws::Vector<Aws::String>& GetServices() const{ return m_services; }
63 inline bool ServicesHasBeenSet() const { return m_servicesHasBeenSet; }
64 inline void SetServices(const Aws::Vector<Aws::String>& value) { m_servicesHasBeenSet = true; m_services = value; }
65 inline void SetServices(Aws::Vector<Aws::String>&& value) { m_servicesHasBeenSet = true; m_services = std::move(value); }
66 inline DestinationConfig& WithServices(const Aws::Vector<Aws::String>& value) { SetServices(value); return *this;}
67 inline DestinationConfig& WithServices(Aws::Vector<Aws::String>&& value) { SetServices(std::move(value)); return *this;}
68 inline DestinationConfig& AddServices(const Aws::String& value) { m_servicesHasBeenSet = true; m_services.push_back(value); return *this; }
69 inline DestinationConfig& AddServices(Aws::String&& value) { m_servicesHasBeenSet = true; m_services.push_back(std::move(value)); return *this; }
70 inline DestinationConfig& AddServices(const char* value) { m_servicesHasBeenSet = true; m_services.push_back(value); return *this; }
72 private:
73
74 Aws::String m_thingName;
75 bool m_thingNameHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_services;
78 bool m_servicesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoTSecureTunneling
83} // namespace Aws
DestinationConfig & WithThingName(const Aws::String &value)
DestinationConfig & AddServices(const char *value)
DestinationConfig & AddServices(const Aws::String &value)
void SetServices(Aws::Vector< Aws::String > &&value)
AWS_IOTSECURETUNNELING_API DestinationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationConfig & WithServices(const Aws::Vector< Aws::String > &value)
AWS_IOTSECURETUNNELING_API DestinationConfig()
const Aws::Vector< Aws::String > & GetServices() const
AWS_IOTSECURETUNNELING_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationConfig & WithThingName(const char *value)
void SetServices(const Aws::Vector< Aws::String > &value)
AWS_IOTSECURETUNNELING_API DestinationConfig(Aws::Utils::Json::JsonView jsonValue)
DestinationConfig & WithServices(Aws::Vector< Aws::String > &&value)
DestinationConfig & AddServices(Aws::String &&value)
DestinationConfig & WithThingName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue