AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeDeploy
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_CODEDEPLOY_API AppSpecContent() = default;
38 AWS_CODEDEPLOY_API AppSpecContent(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEDEPLOY_API AppSpecContent& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
55 inline const Aws::String& GetContent() const { return m_content; }
56 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
57 template<typename ContentT = Aws::String>
58 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
59 template<typename ContentT = Aws::String>
60 AppSpecContent& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
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) { m_sha256HasBeenSet = true; m_sha256 = std::forward<Sha256T>(value); }
71 template<typename Sha256T = Aws::String>
72 AppSpecContent& WithSha256(Sha256T&& value) { SetSha256(std::forward<Sha256T>(value)); return *this;}
74 private:
75
76 Aws::String m_content;
77 bool m_contentHasBeenSet = false;
78
79 Aws::String m_sha256;
80 bool m_sha256HasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace CodeDeploy
85} // 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