AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DataAlreadyAcceptedException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudWatchLogs {
20namespace Model {
21
32 public:
33 AWS_CLOUDWATCHLOGS_API DataAlreadyAcceptedException() = default;
36 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
40 inline const Aws::String& GetExpectedSequenceToken() const { return m_expectedSequenceToken; }
41 inline bool ExpectedSequenceTokenHasBeenSet() const { return m_expectedSequenceTokenHasBeenSet; }
42 template <typename ExpectedSequenceTokenT = Aws::String>
43 void SetExpectedSequenceToken(ExpectedSequenceTokenT&& value) {
44 m_expectedSequenceTokenHasBeenSet = true;
45 m_expectedSequenceToken = std::forward<ExpectedSequenceTokenT>(value);
46 }
47 template <typename ExpectedSequenceTokenT = Aws::String>
49 SetExpectedSequenceToken(std::forward<ExpectedSequenceTokenT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_expectedSequenceToken;
55 bool m_expectedSequenceTokenHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace CloudWatchLogs
60} // namespace Aws
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API DataAlreadyAcceptedException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API DataAlreadyAcceptedException(Aws::Utils::Json::JsonView jsonValue)
DataAlreadyAcceptedException & WithExpectedSequenceToken(ExpectedSequenceTokenT &&value)
AWS_CLOUDWATCHLOGS_API DataAlreadyAcceptedException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue