AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
58 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
59 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
60 inline AppSpecContent& WithContent(const Aws::String& value) { SetContent(value); return *this;}
61 inline AppSpecContent& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
62 inline AppSpecContent& WithContent(const char* value) { SetContent(value); return *this;}
64
66
69 inline const Aws::String& GetSha256() const{ return m_sha256; }
70 inline bool Sha256HasBeenSet() const { return m_sha256HasBeenSet; }
71 inline void SetSha256(const Aws::String& value) { m_sha256HasBeenSet = true; m_sha256 = value; }
72 inline void SetSha256(Aws::String&& value) { m_sha256HasBeenSet = true; m_sha256 = std::move(value); }
73 inline void SetSha256(const char* value) { m_sha256HasBeenSet = true; m_sha256.assign(value); }
74 inline AppSpecContent& WithSha256(const Aws::String& value) { SetSha256(value); return *this;}
75 inline AppSpecContent& WithSha256(Aws::String&& value) { SetSha256(std::move(value)); return *this;}
76 inline AppSpecContent& WithSha256(const char* value) { SetSha256(value); return *this;}
78 private:
79
80 Aws::String m_content;
81 bool m_contentHasBeenSet = false;
82
83 Aws::String m_sha256;
84 bool m_sha256HasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace CodeDeploy
89} // namespace Aws
AWS_CODEDEPLOY_API AppSpecContent(Aws::Utils::Json::JsonView jsonValue)
void SetSha256(Aws::String &&value)
AppSpecContent & WithSha256(const Aws::String &value)
void SetContent(const Aws::String &value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
AppSpecContent & WithSha256(Aws::String &&value)
AppSpecContent & WithContent(const Aws::String &value)
AppSpecContent & WithContent(const char *value)
AWS_CODEDEPLOY_API AppSpecContent & operator=(Aws::Utils::Json::JsonView jsonValue)
AppSpecContent & WithSha256(const char *value)
void SetSha256(const Aws::String &value)
void SetContent(Aws::String &&value)
AppSpecContent & WithContent(Aws::String &&value)
const Aws::String & GetSha256() const
const Aws::String & GetContent() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue