AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateConnectivityInfoRequest.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/GreengrassV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/greengrassv2/model/ConnectivityInfo.h>
12#include <utility>
13
14namespace Aws
15{
16namespace GreengrassV2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GREENGRASSV2_API UpdateConnectivityInfoRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateConnectivityInfo"; }
33
34 AWS_GREENGRASSV2_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetThingName() const { return m_thingName; }
42 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
43 template<typename ThingNameT = Aws::String>
44 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet = true; m_thingName = std::forward<ThingNameT>(value); }
45 template<typename ThingNameT = Aws::String>
46 UpdateConnectivityInfoRequest& WithThingName(ThingNameT&& value) { SetThingName(std::forward<ThingNameT>(value)); return *this;}
48
50
53 inline const Aws::Vector<ConnectivityInfo>& GetConnectivityInfo() const { return m_connectivityInfo; }
54 inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; }
55 template<typename ConnectivityInfoT = Aws::Vector<ConnectivityInfo>>
56 void SetConnectivityInfo(ConnectivityInfoT&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = std::forward<ConnectivityInfoT>(value); }
57 template<typename ConnectivityInfoT = Aws::Vector<ConnectivityInfo>>
58 UpdateConnectivityInfoRequest& WithConnectivityInfo(ConnectivityInfoT&& value) { SetConnectivityInfo(std::forward<ConnectivityInfoT>(value)); return *this;}
59 template<typename ConnectivityInfoT = ConnectivityInfo>
60 UpdateConnectivityInfoRequest& AddConnectivityInfo(ConnectivityInfoT&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo.emplace_back(std::forward<ConnectivityInfoT>(value)); return *this; }
62 private:
63
64 Aws::String m_thingName;
65 bool m_thingNameHasBeenSet = false;
66
67 Aws::Vector<ConnectivityInfo> m_connectivityInfo;
68 bool m_connectivityInfoHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace GreengrassV2
73} // namespace Aws
UpdateConnectivityInfoRequest & WithConnectivityInfo(ConnectivityInfoT &&value)
AWS_GREENGRASSV2_API Aws::String SerializePayload() const override
const Aws::Vector< ConnectivityInfo > & GetConnectivityInfo() const
UpdateConnectivityInfoRequest & WithThingName(ThingNameT &&value)
AWS_GREENGRASSV2_API UpdateConnectivityInfoRequest()=default
UpdateConnectivityInfoRequest & AddConnectivityInfo(ConnectivityInfoT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector