AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
TemplateSectionInstruction.h
1
6#pragma once
7#include <aws/connecthealth/ConnectHealth_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectHealth {
20namespace Model {
21
29 public:
30 AWS_CONNECTHEALTH_API TemplateSectionInstruction() = default;
33 AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetSectionHeader() const { return m_sectionHeader; }
40 inline bool SectionHeaderHasBeenSet() const { return m_sectionHeaderHasBeenSet; }
41 template <typename SectionHeaderT = Aws::String>
42 void SetSectionHeader(SectionHeaderT&& value) {
43 m_sectionHeaderHasBeenSet = true;
44 m_sectionHeader = std::forward<SectionHeaderT>(value);
45 }
46 template <typename SectionHeaderT = Aws::String>
48 SetSectionHeader(std::forward<SectionHeaderT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSectionInstruction() const { return m_sectionInstruction; }
58 inline bool SectionInstructionHasBeenSet() const { return m_sectionInstructionHasBeenSet; }
59 template <typename SectionInstructionT = Aws::String>
60 void SetSectionInstruction(SectionInstructionT&& value) {
61 m_sectionInstructionHasBeenSet = true;
62 m_sectionInstruction = std::forward<SectionInstructionT>(value);
63 }
64 template <typename SectionInstructionT = Aws::String>
65 TemplateSectionInstruction& WithSectionInstruction(SectionInstructionT&& value) {
66 SetSectionInstruction(std::forward<SectionInstructionT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_sectionHeader;
72
73 Aws::String m_sectionInstruction;
74 bool m_sectionHeaderHasBeenSet = false;
75 bool m_sectionInstructionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace ConnectHealth
80} // namespace Aws
AWS_CONNECTHEALTH_API TemplateSectionInstruction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTHEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
TemplateSectionInstruction & WithSectionHeader(SectionHeaderT &&value)
TemplateSectionInstruction & WithSectionInstruction(SectionInstructionT &&value)
AWS_CONNECTHEALTH_API TemplateSectionInstruction(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTHEALTH_API TemplateSectionInstruction()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue