AWS SDK for C++

AWS SDK for C++ Version 1.11.812

Loading...
Searching...
No Matches
MergeConstruct.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mgn {
20namespace Model {
21
29 public:
30 AWS_MGN_API MergeConstruct() = default;
34
36
39 inline const Aws::String& GetSegmentID() const { return m_segmentID; }
40 inline bool SegmentIDHasBeenSet() const { return m_segmentIDHasBeenSet; }
41 template <typename SegmentIDT = Aws::String>
42 void SetSegmentID(SegmentIDT&& value) {
43 m_segmentIDHasBeenSet = true;
44 m_segmentID = std::forward<SegmentIDT>(value);
45 }
46 template <typename SegmentIDT = Aws::String>
47 MergeConstruct& WithSegmentID(SegmentIDT&& value) {
48 SetSegmentID(std::forward<SegmentIDT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetConstructID() const { return m_constructID; }
58 inline bool ConstructIDHasBeenSet() const { return m_constructIDHasBeenSet; }
59 template <typename ConstructIDT = Aws::String>
60 void SetConstructID(ConstructIDT&& value) {
61 m_constructIDHasBeenSet = true;
62 m_constructID = std::forward<ConstructIDT>(value);
63 }
64 template <typename ConstructIDT = Aws::String>
65 MergeConstruct& WithConstructID(ConstructIDT&& value) {
66 SetConstructID(std::forward<ConstructIDT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_segmentID;
72
73 Aws::String m_constructID;
74 bool m_segmentIDHasBeenSet = false;
75 bool m_constructIDHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace mgn
80} // namespace Aws
const Aws::String & GetConstructID() const
AWS_MGN_API MergeConstruct(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSegmentID() const
void SetSegmentID(SegmentIDT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MGN_API MergeConstruct()=default
MergeConstruct & WithSegmentID(SegmentIDT &&value)
void SetConstructID(ConstructIDT &&value)
MergeConstruct & WithConstructID(ConstructIDT &&value)
AWS_MGN_API MergeConstruct & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue