AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
RawString.h
Go to the documentation of this file.
1
6#pragma once
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
34 {
35 public:
40
41
47 inline const Aws::String& GetContent() const{ return m_content; }
48
54 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
55
61 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
62
68 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
69
75 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
76
82 inline RawString& WithContent(const Aws::String& value) { SetContent(value); return *this;}
83
89 inline RawString& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
90
96 inline RawString& WithContent(const char* value) { SetContent(value); return *this;}
97
98
102 inline const Aws::String& GetSha256() const{ return m_sha256; }
103
107 inline bool Sha256HasBeenSet() const { return m_sha256HasBeenSet; }
108
112 inline void SetSha256(const Aws::String& value) { m_sha256HasBeenSet = true; m_sha256 = value; }
113
117 inline void SetSha256(Aws::String&& value) { m_sha256HasBeenSet = true; m_sha256 = std::move(value); }
118
122 inline void SetSha256(const char* value) { m_sha256HasBeenSet = true; m_sha256.assign(value); }
123
127 inline RawString& WithSha256(const Aws::String& value) { SetSha256(value); return *this;}
128
132 inline RawString& WithSha256(Aws::String&& value) { SetSha256(std::move(value)); return *this;}
133
137 inline RawString& WithSha256(const char* value) { SetSha256(value); return *this;}
138
139 private:
140
141 Aws::String m_content;
142 bool m_contentHasBeenSet = false;
143
144 Aws::String m_sha256;
145 bool m_sha256HasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace CodeDeploy
150} // namespace Aws
#define AWS_CODEDEPLOY_API
const Aws::String & GetSha256() const
Definition: RawString.h:102
void SetContent(const char *value)
Definition: RawString.h:75
AWS_CODEDEPLOY_API RawString(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API RawString & operator=(Aws::Utils::Json::JsonView jsonValue)
RawString & WithContent(const char *value)
Definition: RawString.h:96
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
RawString & WithContent(const Aws::String &value)
Definition: RawString.h:82
void SetSha256(const char *value)
Definition: RawString.h:122
void SetContent(Aws::String &&value)
Definition: RawString.h:68
void SetContent(const Aws::String &value)
Definition: RawString.h:61
AWS_CODEDEPLOY_API RawString()
void SetSha256(Aws::String &&value)
Definition: RawString.h:117
void SetSha256(const Aws::String &value)
Definition: RawString.h:112
RawString & WithSha256(const char *value)
Definition: RawString.h:137
const Aws::String & GetContent() const
Definition: RawString.h:47
RawString & WithSha256(Aws::String &&value)
Definition: RawString.h:132
RawString & WithSha256(const Aws::String &value)
Definition: RawString.h:127
RawString & WithContent(Aws::String &&value)
Definition: RawString.h:89
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String