AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GoalContent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DevOpsAgent {
20namespace Model {
21
28 public:
29 AWS_DEVOPSAGENT_API GoalContent() = default;
30 AWS_DEVOPSAGENT_API GoalContent(Aws::Utils::Json::JsonView jsonValue);
31 AWS_DEVOPSAGENT_API GoalContent& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetDescription() const { return m_description; }
39 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
40 template <typename DescriptionT = Aws::String>
41 void SetDescription(DescriptionT&& value) {
42 m_descriptionHasBeenSet = true;
43 m_description = std::forward<DescriptionT>(value);
44 }
45 template <typename DescriptionT = Aws::String>
46 GoalContent& WithDescription(DescriptionT&& value) {
47 SetDescription(std::forward<DescriptionT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetObjectives() const { return m_objectives; }
57 inline bool ObjectivesHasBeenSet() const { return m_objectivesHasBeenSet; }
58 template <typename ObjectivesT = Aws::String>
59 void SetObjectives(ObjectivesT&& value) {
60 m_objectivesHasBeenSet = true;
61 m_objectives = std::forward<ObjectivesT>(value);
62 }
63 template <typename ObjectivesT = Aws::String>
64 GoalContent& WithObjectives(ObjectivesT&& value) {
65 SetObjectives(std::forward<ObjectivesT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_description;
71
72 Aws::String m_objectives;
73 bool m_descriptionHasBeenSet = false;
74 bool m_objectivesHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DevOpsAgent
79} // namespace Aws
void SetObjectives(ObjectivesT &&value)
Definition GoalContent.h:59
void SetDescription(DescriptionT &&value)
Definition GoalContent.h:41
AWS_DEVOPSAGENT_API GoalContent()=default
AWS_DEVOPSAGENT_API GoalContent(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API GoalContent & operator=(Aws::Utils::Json::JsonView jsonValue)
GoalContent & WithDescription(DescriptionT &&value)
Definition GoalContent.h:46
const Aws::String & GetDescription() const
Definition GoalContent.h:38
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetObjectives() const
Definition GoalContent.h:56
GoalContent & WithObjectives(ObjectivesT &&value)
Definition GoalContent.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue