AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AppSpecContent.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_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 CodeDeploy {
20namespace Model {
21
31 public:
32 AWS_CODEDEPLOY_API AppSpecContent() = default;
33 AWS_CODEDEPLOY_API AppSpecContent(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEDEPLOY_API AppSpecContent& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
49 inline const Aws::String& GetContent() const { return m_content; }
50 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
51 template <typename ContentT = Aws::String>
52 void SetContent(ContentT&& value) {
53 m_contentHasBeenSet = true;
54 m_content = std::forward<ContentT>(value);
55 }
56 template <typename ContentT = Aws::String>
57 AppSpecContent& WithContent(ContentT&& value) {
58 SetContent(std::forward<ContentT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetSha256() const { return m_sha256; }
68 inline bool Sha256HasBeenSet() const { return m_sha256HasBeenSet; }
69 template <typename Sha256T = Aws::String>
70 void SetSha256(Sha256T&& value) {
71 m_sha256HasBeenSet = true;
72 m_sha256 = std::forward<Sha256T>(value);
73 }
74 template <typename Sha256T = Aws::String>
75 AppSpecContent& WithSha256(Sha256T&& value) {
76 SetSha256(std::forward<Sha256T>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_content;
82
83 Aws::String m_sha256;
84 bool m_contentHasBeenSet = false;
85 bool m_sha256HasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace CodeDeploy
90} // namespace Aws
AWS_CODEDEPLOY_API AppSpecContent(Aws::Utils::Json::JsonView jsonValue)
AppSpecContent & WithContent(ContentT &&value)
AWS_CODEDEPLOY_API AppSpecContent()=default
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEDEPLOY_API AppSpecContent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSha256() const
AppSpecContent & WithSha256(Sha256T &&value)
const Aws::String & GetContent() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue