AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkInterface.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 CodeBuild
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CODEBUILD_API NetworkInterface();
35 AWS_CODEBUILD_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
45 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
46 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
47 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
48 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
49 inline NetworkInterface& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
50 inline NetworkInterface& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
51 inline NetworkInterface& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
53
55
58 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
59 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
60 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
61 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
62 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
63 inline NetworkInterface& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
64 inline NetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
65 inline NetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
67 private:
68
69 Aws::String m_subnetId;
70 bool m_subnetIdHasBeenSet = false;
71
72 Aws::String m_networkInterfaceId;
73 bool m_networkInterfaceIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CodeBuild
78} // namespace Aws
const Aws::String & GetSubnetId() const
AWS_CODEBUILD_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetNetworkInterfaceId() const
NetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
void SetNetworkInterfaceId(const Aws::String &value)
NetworkInterface & WithSubnetId(const Aws::String &value)
NetworkInterface & WithSubnetId(const char *value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkInterface & WithSubnetId(Aws::String &&value)
void SetNetworkInterfaceId(const char *value)
AWS_CODEBUILD_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
void SetNetworkInterfaceId(Aws::String &&value)
NetworkInterface & WithNetworkInterfaceId(const char *value)
void SetSubnetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue