AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineDestination.h
1
6#pragma once
7#include <aws/osis/OSIS_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 OSIS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_OSIS_API PipelineDestination();
39
40
42
45 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
46 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
47 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
48 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
49 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
50 inline PipelineDestination& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
51 inline PipelineDestination& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
52 inline PipelineDestination& WithServiceName(const char* value) { SetServiceName(value); return *this;}
54
56
59 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
60 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
61 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
62 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
63 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
64 inline PipelineDestination& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
65 inline PipelineDestination& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
66 inline PipelineDestination& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
68 private:
69
70 Aws::String m_serviceName;
71 bool m_serviceNameHasBeenSet = false;
72
73 Aws::String m_endpoint;
74 bool m_endpointHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace OSIS
79} // namespace Aws
PipelineDestination & WithEndpoint(Aws::String &&value)
void SetEndpoint(const Aws::String &value)
PipelineDestination & WithServiceName(Aws::String &&value)
PipelineDestination & WithEndpoint(const char *value)
void SetServiceName(const Aws::String &value)
AWS_OSIS_API PipelineDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_OSIS_API PipelineDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineDestination & WithServiceName(const Aws::String &value)
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetServiceName() const
PipelineDestination & WithServiceName(const char *value)
PipelineDestination & WithEndpoint(const Aws::String &value)
const Aws::String & GetEndpoint() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue