AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
UpdatedDescription.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_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 AgentRegistryControl {
20namespace Model {
21
29 public:
30 AWS_AGENTREGISTRYCONTROL_API UpdatedDescription() = default;
31 AWS_AGENTREGISTRYCONTROL_API UpdatedDescription(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AGENTREGISTRYCONTROL_API UpdatedDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetOptionalValue() const { return m_optionalValue; }
38 inline bool OptionalValueHasBeenSet() const { return m_optionalValueHasBeenSet; }
39 template <typename OptionalValueT = Aws::String>
40 void SetOptionalValue(OptionalValueT&& value) {
41 m_optionalValueHasBeenSet = true;
42 m_optionalValue = std::forward<OptionalValueT>(value);
43 }
44 template <typename OptionalValueT = Aws::String>
45 UpdatedDescription& WithOptionalValue(OptionalValueT&& value) {
46 SetOptionalValue(std::forward<OptionalValueT>(value));
47 return *this;
48 }
50 private:
51 Aws::String m_optionalValue;
52 bool m_optionalValueHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace AgentRegistryControl
57} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API UpdatedDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRYCONTROL_API UpdatedDescription()=default
UpdatedDescription & WithOptionalValue(OptionalValueT &&value)
AWS_AGENTREGISTRYCONTROL_API UpdatedDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue