AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ConflictResolution.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/ConflictResolvingModel.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CustomerProfiles
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CUSTOMERPROFILES_API ConflictResolution() = default;
37 AWS_CUSTOMERPROFILES_API ConflictResolution(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API ConflictResolution& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline ConflictResolvingModel GetConflictResolvingModel() const { return m_conflictResolvingModel; }
53 inline bool ConflictResolvingModelHasBeenSet() const { return m_conflictResolvingModelHasBeenSet; }
54 inline void SetConflictResolvingModel(ConflictResolvingModel value) { m_conflictResolvingModelHasBeenSet = true; m_conflictResolvingModel = value; }
57
59
64 inline const Aws::String& GetSourceName() const { return m_sourceName; }
65 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
66 template<typename SourceNameT = Aws::String>
67 void SetSourceName(SourceNameT&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::forward<SourceNameT>(value); }
68 template<typename SourceNameT = Aws::String>
69 ConflictResolution& WithSourceName(SourceNameT&& value) { SetSourceName(std::forward<SourceNameT>(value)); return *this;}
71 private:
72
74 bool m_conflictResolvingModelHasBeenSet = false;
75
76 Aws::String m_sourceName;
77 bool m_sourceNameHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CustomerProfiles
82} // namespace Aws
ConflictResolvingModel GetConflictResolvingModel() const
AWS_CUSTOMERPROFILES_API ConflictResolution()=default
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConflictResolvingModel(ConflictResolvingModel value)
ConflictResolution & WithConflictResolvingModel(ConflictResolvingModel value)
AWS_CUSTOMERPROFILES_API ConflictResolution & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API ConflictResolution(Aws::Utils::Json::JsonView jsonValue)
ConflictResolution & WithSourceName(SourceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue