AWS SDK for C++  1.9.153
AWS SDK for C++
Content.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SESV2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetData() const{ return m_data; }
45 
49  inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
50 
54  inline void SetData(const Aws::String& value) { m_dataHasBeenSet = true; m_data = value; }
55 
59  inline void SetData(Aws::String&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
60 
64  inline void SetData(const char* value) { m_dataHasBeenSet = true; m_data.assign(value); }
65 
69  inline Content& WithData(const Aws::String& value) { SetData(value); return *this;}
70 
74  inline Content& WithData(Aws::String&& value) { SetData(std::move(value)); return *this;}
75 
79  inline Content& WithData(const char* value) { SetData(value); return *this;}
80 
81 
89  inline const Aws::String& GetCharset() const{ return m_charset; }
90 
98  inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; }
99 
107  inline void SetCharset(const Aws::String& value) { m_charsetHasBeenSet = true; m_charset = value; }
108 
116  inline void SetCharset(Aws::String&& value) { m_charsetHasBeenSet = true; m_charset = std::move(value); }
117 
125  inline void SetCharset(const char* value) { m_charsetHasBeenSet = true; m_charset.assign(value); }
126 
134  inline Content& WithCharset(const Aws::String& value) { SetCharset(value); return *this;}
135 
143  inline Content& WithCharset(Aws::String&& value) { SetCharset(std::move(value)); return *this;}
144 
152  inline Content& WithCharset(const char* value) { SetCharset(value); return *this;}
153 
154  private:
155 
156  Aws::String m_data;
157  bool m_dataHasBeenSet;
158 
159  Aws::String m_charset;
160  bool m_charsetHasBeenSet;
161  };
162 
163 } // namespace Model
164 } // namespace SESV2
165 } // namespace Aws
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::Content::SetData
void SetData(const Aws::String &value)
Definition: Content.h:54
Aws::SESV2::Model::Content::WithCharset
Content & WithCharset(Aws::String &&value)
Definition: Content.h:143
Aws::SESV2::Model::Content::Content
Content(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::Content::CharsetHasBeenSet
bool CharsetHasBeenSet() const
Definition: Content.h:98
Aws::SESV2::Model::Content::SetData
void SetData(Aws::String &&value)
Definition: Content.h:59
Aws::SESV2::Model::Content::WithData
Content & WithData(const Aws::String &value)
Definition: Content.h:69
Aws::SESV2::Model::Content::WithData
Content & WithData(Aws::String &&value)
Definition: Content.h:74
Aws::SESV2::Model::Content::SetCharset
void SetCharset(const Aws::String &value)
Definition: Content.h:107
Aws::SESV2::Model::Content::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::Content::GetData
const Aws::String & GetData() const
Definition: Content.h:44
Aws::SESV2::Model::Content::operator=
Content & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::Content::WithData
Content & WithData(const char *value)
Definition: Content.h:79
Aws::SESV2::Model::Content::GetCharset
const Aws::String & GetCharset() const
Definition: Content.h:89
Aws::SESV2::Model::Content::WithCharset
Content & WithCharset(const char *value)
Definition: Content.h:152
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SESV2::Model::Content::SetCharset
void SetCharset(const char *value)
Definition: Content.h:125
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::Content::Content
Content()
Aws::SESV2::Model::Content::DataHasBeenSet
bool DataHasBeenSet() const
Definition: Content.h:49
Aws::SESV2::Model::Content::SetCharset
void SetCharset(Aws::String &&value)
Definition: Content.h:116
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::Content
Definition: Content.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::Content::WithCharset
Content & WithCharset(const Aws::String &value)
Definition: Content.h:134
Aws::SESV2::Model::Content::SetData
void SetData(const char *value)
Definition: Content.h:64