AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsEcsServiceServiceRegistriesDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsEcsServiceServiceRegistriesDetails() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline const Aws::String& GetContainerName() const { return m_containerName; }
52 inline bool ContainerNameHasBeenSet() const { return m_containerNameHasBeenSet; }
53 template<typename ContainerNameT = Aws::String>
54 void SetContainerName(ContainerNameT&& value) { m_containerNameHasBeenSet = true; m_containerName = std::forward<ContainerNameT>(value); }
55 template<typename ContainerNameT = Aws::String>
56 AwsEcsServiceServiceRegistriesDetails& WithContainerName(ContainerNameT&& value) { SetContainerName(std::forward<ContainerNameT>(value)); return *this;}
58
60
68 inline int GetContainerPort() const { return m_containerPort; }
69 inline bool ContainerPortHasBeenSet() const { return m_containerPortHasBeenSet; }
70 inline void SetContainerPort(int value) { m_containerPortHasBeenSet = true; m_containerPort = value; }
73
75
80 inline int GetPort() const { return m_port; }
81 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
82 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
83 inline AwsEcsServiceServiceRegistriesDetails& WithPort(int value) { SetPort(value); return *this;}
85
87
90 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
91 inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; }
92 template<typename RegistryArnT = Aws::String>
93 void SetRegistryArn(RegistryArnT&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::forward<RegistryArnT>(value); }
94 template<typename RegistryArnT = Aws::String>
95 AwsEcsServiceServiceRegistriesDetails& WithRegistryArn(RegistryArnT&& value) { SetRegistryArn(std::forward<RegistryArnT>(value)); return *this;}
97 private:
98
99 Aws::String m_containerName;
100 bool m_containerNameHasBeenSet = false;
101
102 int m_containerPort{0};
103 bool m_containerPortHasBeenSet = false;
104
105 int m_port{0};
106 bool m_portHasBeenSet = false;
107
108 Aws::String m_registryArn;
109 bool m_registryArnHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SecurityHub
114} // namespace Aws
AwsEcsServiceServiceRegistriesDetails & WithContainerName(ContainerNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsEcsServiceServiceRegistriesDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEcsServiceServiceRegistriesDetails & WithRegistryArn(RegistryArnT &&value)
AWS_SECURITYHUB_API AwsEcsServiceServiceRegistriesDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue