133 lines
4.2 KiB
C
133 lines
4.2 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/greengrass/Greengrass_EXPORTS.h>
|
|||
|
|
#include <aws/greengrass/GreengrassRequest.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/greengrass/model/ConnectivityInfo.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Greengrass
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* Connectivity information.<p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectivityInfoRequest">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_GREENGRASS_API UpdateConnectivityInfoRequest : public GreengrassRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
UpdateConnectivityInfoRequest();
|
|||
|
|
|
|||
|
|
// Service request name is the Operation name which will send this request out,
|
|||
|
|
// each operation should has unique request name, so that we can get operation's name from this request.
|
|||
|
|
// Note: this is not true for response, multiple operations may have the same response name,
|
|||
|
|
// so we can not get operation's name from response.
|
|||
|
|
inline virtual const char* GetServiceRequestName() const override { return "UpdateConnectivityInfo"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* A list of connectivity info.
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<ConnectivityInfo>& GetConnectivityInfo() const{ return m_connectivityInfo; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* A list of connectivity info.
|
|||
|
|
*/
|
|||
|
|
inline bool ConnectivityInfoHasBeenSet() const { return m_connectivityInfoHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* A list of connectivity info.
|
|||
|
|
*/
|
|||
|
|
inline void SetConnectivityInfo(const Aws::Vector<ConnectivityInfo>& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* A list of connectivity info.
|
|||
|
|
*/
|
|||
|
|
inline void SetConnectivityInfo(Aws::Vector<ConnectivityInfo>&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* A list of connectivity info.
|
|||
|
|
*/
|
|||
|
|
inline UpdateConnectivityInfoRequest& WithConnectivityInfo(const Aws::Vector<ConnectivityInfo>& value) { SetConnectivityInfo(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* A list of connectivity info.
|
|||
|
|
*/
|
|||
|
|
inline UpdateConnectivityInfoRequest& WithConnectivityInfo(Aws::Vector<ConnectivityInfo>&& value) { SetConnectivityInfo(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* A list of connectivity info.
|
|||
|
|
*/
|
|||
|
|
inline UpdateConnectivityInfoRequest& AddConnectivityInfo(const ConnectivityInfo& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* A list of connectivity info.
|
|||
|
|
*/
|
|||
|
|
inline UpdateConnectivityInfoRequest& AddConnectivityInfo(ConnectivityInfo&& value) { m_connectivityInfoHasBeenSet = true; m_connectivityInfo.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The thing name.
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetThingName() const{ return m_thingName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The thing name.
|
|||
|
|
*/
|
|||
|
|
inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The thing name.
|
|||
|
|
*/
|
|||
|
|
inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The thing name.
|
|||
|
|
*/
|
|||
|
|
inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The thing name.
|
|||
|
|
*/
|
|||
|
|
inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The thing name.
|
|||
|
|
*/
|
|||
|
|
inline UpdateConnectivityInfoRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The thing name.
|
|||
|
|
*/
|
|||
|
|
inline UpdateConnectivityInfoRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* The thing name.
|
|||
|
|
*/
|
|||
|
|
inline UpdateConnectivityInfoRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::Vector<ConnectivityInfo> m_connectivityInfo;
|
|||
|
|
bool m_connectivityInfoHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_thingName;
|
|||
|
|
bool m_thingNameHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Greengrass
|
|||
|
|
} // namespace Aws
|