AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ServiceVersion.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/snowball/Snowball_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Snowball {
20namespace Model {
21
28 public:
29 AWS_SNOWBALL_API ServiceVersion() = default;
30 AWS_SNOWBALL_API ServiceVersion(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetVersion() const { return m_version; }
39 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
40 template <typename VersionT = Aws::String>
41 void SetVersion(VersionT&& value) {
42 m_versionHasBeenSet = true;
43 m_version = std::forward<VersionT>(value);
44 }
45 template <typename VersionT = Aws::String>
46 ServiceVersion& WithVersion(VersionT&& value) {
47 SetVersion(std::forward<VersionT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_version;
53 bool m_versionHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Snowball
58} // namespace Aws
AWS_SNOWBALL_API ServiceVersion()=default
AWS_SNOWBALL_API ServiceVersion(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SNOWBALL_API ServiceVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersion() const
ServiceVersion & WithVersion(VersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue