AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkConfiguration.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/AssignPublicIp.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Batch
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_BATCH_API NetworkConfiguration();
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const AssignPublicIp& GetAssignPublicIp() const{ return m_assignPublicIp; }
54 inline bool AssignPublicIpHasBeenSet() const { return m_assignPublicIpHasBeenSet; }
55 inline void SetAssignPublicIp(const AssignPublicIp& value) { m_assignPublicIpHasBeenSet = true; m_assignPublicIp = value; }
56 inline void SetAssignPublicIp(AssignPublicIp&& value) { m_assignPublicIpHasBeenSet = true; m_assignPublicIp = std::move(value); }
57 inline NetworkConfiguration& WithAssignPublicIp(const AssignPublicIp& value) { SetAssignPublicIp(value); return *this;}
58 inline NetworkConfiguration& WithAssignPublicIp(AssignPublicIp&& value) { SetAssignPublicIp(std::move(value)); return *this;}
60 private:
61
62 AssignPublicIp m_assignPublicIp;
63 bool m_assignPublicIpHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace Batch
68} // namespace Aws
void SetAssignPublicIp(const AssignPublicIp &value)
const AssignPublicIp & GetAssignPublicIp() const
NetworkConfiguration & WithAssignPublicIp(const AssignPublicIp &value)
void SetAssignPublicIp(AssignPublicIp &&value)
AWS_BATCH_API NetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API NetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkConfiguration & WithAssignPublicIp(AssignPublicIp &&value)
Aws::Utils::Json::JsonValue JsonValue